Skip to content

Commit 67e1709

Browse files
authored
Merge pull request #4926 from GeekyAnts/fix/input-example
fix: input example center
2 parents b505fdb + 4bf8adb commit 67e1709

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/storybook/stories/components/primitives/Input/Size.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Input, Stack } from 'native-base';
33

44
export const Example = () => {
55
return (
6-
<Stack space={4} w="75%" maxW="300px">
6+
<Stack space={4} w="75%" maxW="300px" mx="auto">
77
<Input size="xs" placeholder="xs Input" />
88
<Input size="sm" placeholder="sm Input" />
99
<Input size="md" placeholder="md Input" />

example/storybook/stories/components/primitives/Input/Variant.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { Input, Stack } from 'native-base';
33
export const Example = () => {
44
return (
5-
<Stack space={4} w="75%" maxW="300px">
5+
<Stack space={4} w="75%" maxW="300px" mx="auto">
66
<Input variant="outline" placeholder="Outline" />
77
<Input variant="filled" placeholder="Filled" />
88
<Input variant="underlined" placeholder="Underlined" />

0 commit comments

Comments
 (0)