Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(react): updated form and fluid form playground #12310

Merged
merged 3 commits into from
Oct 19, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,14 @@
*/

import React from 'react';
import { action } from '@storybook/addon-actions';

import { withKnobs } from '@storybook/addon-knobs';
import FluidForm from '.';
import FluidTextInput from '../FluidTextInput';
import FluidTextArea from '../FluidTextArea';
import ModalWrapper from '../ModalWrapper';

const additionalProps = {
className: 'some-class',
onSubmit: (e) => {
e.preventDefault();
action('FormSubmitted')(e);
},
};

const TextInputProps = {
Expand All @@ -46,7 +40,6 @@ const InvalidPasswordProps = {
export default {
title: 'Experimental/FluidForm',
component: FluidForm,
decorators: [withKnobs],
};

export const Default = () => (
Expand Down
250 changes: 0 additions & 250 deletions packages/react/src/components/Form/Form-story.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
*/

import React from 'react';
import Checkbox from '../../Checkbox';
import Form from '../';
import FormGroup from '../../FormGroup';
import FileUploader from '../../FileUploader';
import { NumberInput } from '../../NumberInput';
import RadioButton from '../../RadioButton';
import RadioButtonGroup from '../../RadioButtonGroup';
import Button from '../../Button';
import Search from '../../Search';
import Select from '../../Select';
import SelectItem from '../../SelectItem';
import TextArea from '../../TextArea';
import TextInput from '../../TextInput';
import { Stack } from '../../Stack';
import Checkbox from '../Checkbox';
import Form from './Form';
import FormGroup from '../FormGroup';
import FileUploader from '../FileUploader';
import { NumberInput } from '../NumberInput';
import RadioButton from '../RadioButton';
import RadioButtonGroup from '../RadioButtonGroup';
import Button from '../Button';
import Search from '../Search';
import Select from '../Select';
import SelectItem from '../SelectItem';
import TextArea from '../TextArea';
import TextInput from '../TextInput';
import { Stack } from '../Stack';

const checkboxEvents = {
className: 'some-class',
Expand Down