Skip to content

Commit

Permalink
Fix input demos
Browse files Browse the repository at this point in the history
  • Loading branch information
Studio384 committed Aug 18, 2022
1 parent f1b2339 commit 26419d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/docs/pages/Forms/FormControlDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function FormControlDemo() {

<h3>Input Control</h3>
<DemoBox>
<Grid>
<Grid xs={1}>
<InputControl name="default" label="Default" placeholder="Default" helper="A default text field." />
<InputControl name="email" type="email" label="Email" placeholder="Email" />
<InputControl name="password" type="password" label="Password" placeholder="Password" />
Expand Down
2 changes: 1 addition & 1 deletion src/docs/pages/Forms/InputDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function InputDemo() {
<>
<h2>Input</h2>
<DemoBox>
<Grid>
<Grid xs={1}>
<Input placeholder="Default" />
<Input type="email" placeholder="Email" />
<Input type="password" placeholder="Password" />
Expand Down
2 changes: 1 addition & 1 deletion src/docs/pages/Forms/InputGroupDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function InputGroupDemo() {
<h3>Input Addon</h3>
<p>The input group allows you to add input addons to an input. These are small text labels.</p>
<DemoBox>
<Grid>
<Grid xs={1}>
<InputGroup>
<InputAddon>Prefix</InputAddon>
<Input placeholder="Default" />
Expand Down

0 comments on commit 26419d6

Please sign in to comment.