@project44-manifest/react
Version:
Manifest Design System react components
30 lines • 927 B
TypeScript
import { CSS } from '@project44-manifest/react-styles';
import type { ForwardRefComponent } from '@project44-manifest/react-types';
interface FlexProps {
/**
* The alignment of the container's children.
*/
align?: 'baseline' | 'center' | 'end' | 'start';
/** Theme aware style object */
css?: CSS;
/**
* The gap between rows and columns.
*/
gap?: 'large' | 'medium' | 'small' | 'x-large' | 'x-small';
/**
* The justification of the container's children.
*/
justify?: 'around' | 'between' | 'center' | 'end' | 'start';
/**
* The orientation of the container's children.
*/
orientation?: 'horizontal' | 'vertical';
/**
* Whether the container's should wrap when overflown.
*/
wrap?: boolean;
}
declare const Flex: ForwardRefComponent<"div", FlexProps>;
export type { FlexProps };
export { Flex };
//# sourceMappingURL=flex.d.ts.map