diff --git a/src/Stack/README.mdx b/src/Stack/README.mdx index 1245547e3..07a5855d7 100644 --- a/src/Stack/README.mdx +++ b/src/Stack/README.mdx @@ -74,14 +74,14 @@ import {StackWrapper, StackItem} from 'base5-ui/Stack'; ``` All `Stack` props are now passed to the `StackWrapper` instead. -Instead of using the `Hidden` component to responsively hide items, you can pass the `hideBelow` prop to items. +Instead of using the `Hidden` component to responsively hide items, you can pass the `hiddenBelow` or `hiddenAbove` props to items. `StackItem` rejects all other custom props by default, but you can allow them to be passed through by attaching the `allowUnknownProps` prop. Development Marketing - Sales + Sales Design diff --git a/src/Stack/index.js b/src/Stack/index.js index 92c5a716b..3ab12da9b 100644 --- a/src/Stack/index.js +++ b/src/Stack/index.js @@ -155,6 +155,8 @@ const StackItem = forwardRef(function StackItem( ref={ref} as={as} pt={spacing} + below={hiddenBelow} + above={hiddenAbove} breakpoints={breakpoints} > {children}