Download ant-design/components/flex/interface.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 588 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/ant-design/components/flex/interface.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/ant-design/components/flex/interface.ts
-
curl -L -o interface.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/ant-design/components/flex/interface.ts
588 Bytes
| import type React from 'react'; | |
| import type { AnyObject, CustomComponent } from '../_util/type'; | |
| import type { SizeType } from '../config-provider/SizeContext'; | |
| export interface FlexProps<P = AnyObject> extends React.HTMLAttributes<HTMLElement> { | |
| prefixCls?: string; | |
| rootClassName?: string; | |
| vertical?: boolean; | |
| wrap?: boolean | React.CSSProperties['flexWrap']; | |
| justify?: React.CSSProperties['justifyContent']; | |
| align?: React.CSSProperties['alignItems']; | |
| flex?: React.CSSProperties['flex']; | |
| gap?: React.CSSProperties['gap'] | SizeType; | |
| component?: CustomComponent<P>; | |
| } | |