import Stack from '@precursor/stack';Example
Release notes
Keep related content in a vertical flow.
import Stack from '@precursor/stack';
import Heading from '@precursor/heading';
import Text from '@precursor/text';
export default function Example() {
return (
<Stack gap="xs">
<Heading as="h2" size="h4">
Release notes
</Heading>
<Text>Keep related content in a vertical flow.</Text>
</Stack>
);
}
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
childrenRequired | ReactNode | — | — |
gap | "xxs" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "xxxl" | 'm' | — |