import * as React from 'react';
import { Form } from './Form';
import { FormField, PrimaryButton } from '..';
import { TextField } from '..';

export const FormPreview = () => (
    <Form>
        <FormField
            input={<TextField/>}
            label="Text field:"
        />
        <PrimaryButton>Submit</PrimaryButton>
    </Form>
);
