ui: document FlexItemProps

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2026-04-17 17:47:29 +01:00
parent 62cc936894
commit ea220e9a9d
2 changed files with 9 additions and 5 deletions
+1 -4
View File
@@ -1333,13 +1333,10 @@ export const FlexDefinition: {
// @public (undocumented)
export type FlexDirection = 'row' | 'column';
// @public (undocumented)
// @public
export interface FlexItemProps {
// (undocumented)
basis?: Responsive<CSSProperties['flexBasis']>;
// (undocumented)
grow?: Responsive<number | boolean>;
// (undocumented)
shrink?: Responsive<number | boolean>;
}
+8 -1
View File
@@ -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<number | boolean>;
/** Controls the flex-shrink property. Values of `true` or `false` are converted to `1` or `0` respectively. */
shrink?: Responsive<number | boolean>;
/** Controls the flex-basis property. */
basis?: Responsive<CSSProperties['flexBasis']>;
}