Files
frontend/node_modules/antd/lib/flex/interface.d.ts
2026-01-17 15:16:36 -05:00

15 lines
631 B
TypeScript

import type React from 'react';
import type { AnyObject, CustomComponent, LiteralUnion } 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?: LiteralUnion<SizeType, React.CSSProperties['gap']>;
component?: CustomComponent<P>;
}