Skip to content

Commit

Permalink
fix(Component): change Box to PseudoBox of DrawerHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
austin_hung committed Nov 5, 2020
1 parent dab6c84 commit de1c205
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/react-styled-ui/src/Drawer/DrawerHeader.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { forwardRef } from 'react';
import Box from '../Box';
import PseudoBox from '../PseudoBox';

const DrawerHeader = forwardRef((props, ref) => {
return (
<Box
<PseudoBox
ref={ref}
pt="4x"
pb="3x"
Expand Down
6 changes: 3 additions & 3 deletions packages/styled-ui-docs/pages/drawer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -523,12 +523,12 @@ function Example() {

### DrawerHeader

`DrawerHeader` composes the [`Box`](./box) component.
`DrawerHeader` composes the [`PseudoBox`](./pseudobox) component.

### DrawerBody

`DrawerBody` composes the [`PseudoBox`](./pseudoBox) component.
`DrawerBody` composes the [`PseudoBox`](./pseudobox) component.

### DrawerFooter

`DrawerFooter` composes the [`PseudoBox`](./pseudoBox) component.
`DrawerFooter` composes the [`PseudoBox`](./pseudobox) component.

0 comments on commit de1c205

Please sign in to comment.