Skip to content

Commit e784841

Browse files
authored
docs(FlexBox): add note to fitContainer prop (#5107)
1 parent 9aadf71 commit e784841

File tree

1 file changed

+2
-0
lines changed
  • packages/main/src/components/FlexBox

1 file changed

+2
-0
lines changed

packages/main/src/components/FlexBox/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ export interface FlexBoxPropTypes extends CommonProps {
2525
displayInline?: boolean;
2626
/**
2727
* Determines whether the `FlexBox` will be sized to completely fill its container.
28+
*
29+
* __Note:__ `fitContainer` only works if the height of the containing block is specified (i.e. it doesn't depend on content height)
2830
*/
2931
fitContainer?: boolean;
3032
/**

0 commit comments

Comments
 (0)