propsType

[React Typescript] Strongly type Shared props for multiple components (React.FC<propsType>)

import { Equal, Expect } from "../helpers/type-utils"; type InputProps = React.ComponentProps<"input">; const COMPONENTS = { text: (props) => { return ......
共1篇  :1/1页 首页上一页1下一页尾页