Skip to content

Commit

Permalink
prop docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Aug 27, 2024
1 parent d930733 commit bdab7a0
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@ export type EuiCollapsibleNavBetaProps = CommonProps &
*/
children?: ReactNode;
/**
* Whether the navigation flyout should default to initially collapsed or expanded
* Whether the navigation flyout should default to initially collapsed or expanded.
* Used for **uncontrolled** state.
*/
initialIsCollapsed?: boolean;
/**
* Whether the navigation flyout should be collapsed or expanded. If set, the collapsed state
* is **controlled** by the parent component. This prop superseeds `initialIsCollapsed`.
* If defined, the navigation collapsed/expanded state is **controlled**
* by the consumer and `onCollapseToggle` must be passed as well.
* This prop supercedes `initialIsCollapsed`.
*/
isCollapsed?: boolean;
/**
Expand Down

0 comments on commit bdab7a0

Please sign in to comment.