Skip to content

Commit

Permalink
fix: export missing form ref (#905)
Browse files Browse the repository at this point in the history
  • Loading branch information
mavarius authored Nov 22, 2022
1 parent 4e486c1 commit 3f49d87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Components/Form/Documentation/Form.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {mapEnumKeys} from '../../../Utils/storybook'
// Components
import {
Form,
FormRef,
FormBoxRef,
FormLabelRef,
FormFooterRef,
Expand Down Expand Up @@ -56,7 +57,6 @@ import FormReadme from './Form.md'
import FormElementReadme from './FormElement.md'
import FormValidationElementReadme from './FormValidationElement.md'
import NaturalLanguageFormReadme from './NaturalLanguageForm.md'
import {FormRef} from '../Form'

const formStories = storiesOf('Components/Forms/Standard', module).addDecorator(
withKnobs
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class Form extends Component<FormProps> {
}
}

export {FormProps} from './Form'
export {FormProps, FormRef} from './Form'
export * from './FormBox'
export * from './FormDivider'
export * from './FormElement'
Expand Down

0 comments on commit 3f49d87

Please # to comment.