Skip to content

Commit

Permalink
feat(form): export type Rule
Browse files Browse the repository at this point in the history
  • Loading branch information
gavin-hao authored and jack0pan committed Sep 26, 2023
1 parent accbe7e commit bc4727a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/form/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { FormLabelAlign, RequiredMark } from './context';
import { FormItemFeedbackType } from './ItemControl';
import { SizeType } from '../utils/SizeContext';

export { Rule, RuleObject, RuleRender } from 'rc-field-form/es/interface';
export type FormLayout = 'horizontal' | 'vertical' | 'inline';

export interface Props<Values = unknown> extends Omit<RcFormProps<Values>, 'form'> {
Expand Down

0 comments on commit bc4727a

Please sign in to comment.