@cbinsights/fds
Version:
Form: A design system by CB Insights
18 lines (17 loc) • 591 B
TypeScript
import React from 'react';
export interface FlexItemProps {
/** Sets standard justify-content */
justify?: 'start' | 'end' | 'center' | 'spaceBetween' | 'spaceAround';
/** Sets standard align-items */
align?: 'start' | 'end' | 'center';
/** When set, the `FlexItem` will shrink to content size */
shrink?: boolean;
/** React children */
children?: React.ReactNode;
}
/**
* @param {Object} props react props
* @returns {ReactElement}
*/
declare const FlexItem: ({ shrink, justify, align, children, }: FlexItemProps) => JSX.Element;
export default FlexItem;