Skip to content

Commit

Permalink
Add label to dev page input
Browse files Browse the repository at this point in the history
  • Loading branch information
connorlanigan committed Aug 10, 2023
1 parent 4227ba7 commit be6f68b
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions pages/funnel-analytics/nested-funnels.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,18 @@ import React from 'react';

import { i18nStrings } from '../wizard/common';

import { Box, BreadcrumbGroup, Form, Wizard, WizardProps, Input, Container, Header, SpaceBetween } from '~components';
import {
Box,
BreadcrumbGroup,
Form,
Wizard,
WizardProps,
Input,
Container,
Header,
SpaceBetween,
FormField,
} from '~components';

export default function WizardPage() {
const steps: WizardProps.Step[] = [
Expand Down Expand Up @@ -45,7 +56,9 @@ export default function WizardPage() {
<Container header={<Header>Another header</Header>}>
<Form>
Here is a substep nested inside a substep.
<Input readOnly={true} value="" />
<FormField label="An input field">
<Input readOnly={true} value="" />
</FormField>
</Form>
</Container>
</Container>
Expand Down

0 comments on commit be6f68b

Please sign in to comment.