Skip to content

Commit 7ef0e19

Browse files
committed
fix: drawer docs code snippets tabulation
1 parent edfb283 commit 7ef0e19

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/components/Drawer/DrawerCollapsedItem.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ const outlineHeight = 32;
8585
* import { Drawer } from 'react-native-paper';
8686
*
8787
* const MyComponent = () => (
88-
* <Drawer.CollapsedItem
89-
* focusedIcon="inbox"
90-
* unfocusedIcon="inbox-outline"
91-
* label="Inbox"
92-
* />
88+
* <Drawer.CollapsedItem
89+
* focusedIcon="inbox"
90+
* unfocusedIcon="inbox-outline"
91+
* label="Inbox"
92+
* />
9393
* );
9494
*
9595
* export default MyComponent;

src/components/Drawer/DrawerItem.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ export type Props = React.ComponentPropsWithRef<typeof View> & {
8181
* import { Drawer } from 'react-native-paper';
8282
*
8383
* const MyComponent = () => (
84-
* <Drawer.Item
85-
* style={{ backgroundColor: '#64ffda' }}
86-
* icon="star"
87-
* label="First Item"
88-
* />
84+
* <Drawer.Item
85+
* style={{ backgroundColor: '#64ffda' }}
86+
* icon="star"
87+
* label="First Item"
88+
* />
8989
* );
9090
*
9191
* export default MyComponent;

0 commit comments

Comments
 (0)