Skip to content

Commit

Permalink
feat(v5): Drop FormFile and related components (#5523)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyletsang committed Dec 9, 2020
1 parent 52e8541 commit d4195da
Show file tree
Hide file tree
Showing 15 changed files with 68 additions and 589 deletions.
3 changes: 0 additions & 3 deletions src/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import classNames from 'classnames';
import PropTypes from 'prop-types';
import React from 'react';
import FormCheck from './FormCheck';
import FormFile from './FormFile';
import FormControl from './FormControl';
import FormGroup from './FormGroup';
import FormLabel from './FormLabel';
Expand All @@ -24,7 +23,6 @@ type Form = React.ForwardRefExoticComponent<
Group: typeof FormGroup;
Control: typeof FormControl;
Check: typeof FormCheck;
File: typeof FormFile;
Switch: typeof Switch;
Label: typeof FormLabel;
Text: typeof FormText;
Expand Down Expand Up @@ -78,7 +76,6 @@ FormImpl.propTypes = propTypes as any;
FormImpl.Group = FormGroup;
FormImpl.Control = FormControl;
FormImpl.Check = FormCheck;
FormImpl.File = FormFile;
FormImpl.Switch = Switch;
FormImpl.Label = FormLabel;
FormImpl.Text = FormText;
Expand Down
181 changes: 0 additions & 181 deletions src/FormFile.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions src/FormFileButton.tsx

This file was deleted.

85 changes: 0 additions & 85 deletions src/FormFileInput.tsx

This file was deleted.

79 changes: 0 additions & 79 deletions src/FormFileLabel.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions src/FormFileText.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ export type { FormControlProps } from './FormControl';
export { default as FormCheck } from './FormCheck';
export type { FormCheckProps } from './FormCheck';

export { default as FormFile } from './FormFile';
export type { FormFileProps } from './FormFile';

export { default as FormGroup } from './FormGroup';
export type { FormGroupProps } from './FormGroup';

Expand Down
Loading

0 comments on commit d4195da

Please sign in to comment.