Skip to content

Commit

Permalink
docs(FlexBox): add note to fitContainer prop (#5107)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas742 authored Sep 29, 2023
1 parent 9aadf71 commit e784841
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/main/src/components/FlexBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export interface FlexBoxPropTypes extends CommonProps {
displayInline?: boolean;
/**
* Determines whether the `FlexBox` will be sized to completely fill its container.
*
* __Note:__ `fitContainer` only works if the height of the containing block is specified (i.e. it doesn't depend on content height)
*/
fitContainer?: boolean;
/**
Expand Down

0 comments on commit e784841

Please sign in to comment.