stack
v4.15.0arrow_drop_downv4.15.0
STATUS
Passing
DOWNLOADS
188
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
2 KB
Context used to manage the layering of z-indexes of components.
1 contributor
Like
Install stack as a package?
Copied
npm i @bit/segmentio.evergreen.stack
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
Context used to manage the layering of z-indexes of components.
Properties
Name | Type | Default value | Description |
---|---|---|---|
children (required) | function | Function that takes the current z-index and returns a React Node. (zIndex) => ReactNode. | |
value | number | StackingOrder.STACKING_CONTEXT | Set the value of the stack. This will increment for children. |