diff --git a/packages/ui/report.api.md b/packages/ui/report.api.md index e7ccca62df..b3cdc5ced4 100644 --- a/packages/ui/report.api.md +++ b/packages/ui/report.api.md @@ -1333,13 +1333,10 @@ export const FlexDefinition: { // @public (undocumented) export type FlexDirection = 'row' | 'column'; -// @public (undocumented) +// @public export interface FlexItemProps { - // (undocumented) basis?: Responsive; - // (undocumented) grow?: Responsive; - // (undocumented) shrink?: Responsive; } diff --git a/packages/ui/src/types.ts b/packages/ui/src/types.ts index 9f8d792731..3a6633bc37 100644 --- a/packages/ui/src/types.ts +++ b/packages/ui/src/types.ts @@ -122,10 +122,17 @@ export interface PaddingProps { /** @public */ export interface SpaceProps extends MarginProps, PaddingProps {} -/** @public */ +/** + * Flex item properties. + * + * @public + */ export interface FlexItemProps { + /** Controls the flex-grow property. Values of `true` or `false` are converted to `1` or `0` respectively. */ grow?: Responsive; + /** Controls the flex-shrink property. Values of `true` or `false` are converted to `1` or `0` respectively. */ shrink?: Responsive; + /** Controls the flex-basis property. */ basis?: Responsive; }