@equinor/fusion-react-side-sheet
v1.3.3
Published
React component for displaying a side-sheet
Downloads
2,855
Readme
@equinor/fusion-react-side-sheet
Storybook
Installation
npm install @equinor/fusion-react-side-sheet
Children
| Name | Props | Description
| ---- | ---- | -----------
| Title
| title | Required child for displaying side sheet title.
| SubTile
| subTitle | ...
| Actions
| sideSheetRef | ...
| Indicator
| color | ...
| Content
| ReactChildElements| ...
Properties/Attributes
| Name | Type | Default | Description
| ---- | ---- | ------- | -----------
| enableFullScreen
| boolean
| true
| prop for disabling fullScreen action.
| minWidth
| number
| 500
| Min with of the side-sheet.
| onClose
| function
| - | Callback function triggered onClose button clicked.