yarn add @twilio-paste/stack
import {Stack} from '@twilio-paste/core/stack';
<Stack orientation="vertical" spacing="space40">
Foo
</Stack>;
as
- Type
any
element
Overrides the default element name to apply unique styles with the Customization Provider
- Type
any
- Default
'STACK'
orientation
- Type
any
spacing
- Type
any
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.