mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
tuple FormLabelAlign (#19543)
This commit is contained in:
parent
15d8494cf2
commit
3402f656ad
@ -14,7 +14,9 @@ import FormContext, { FormContextProps } from './context';
|
||||
|
||||
const ValidateStatuses = tuple('success', 'warning', 'error', 'validating', '');
|
||||
|
||||
export type FormLabelAlign = 'left' | 'right';
|
||||
const FormLabelAligns = tuple('left', 'right');
|
||||
|
||||
export type FormLabelAlign = (typeof FormLabelAligns)[number];
|
||||
|
||||
export interface FormItemProps {
|
||||
prefixCls?: string;
|
||||
|
Loading…
Reference in New Issue
Block a user