UNPKG

chowa

Version:

UI component library based on React

21 lines (20 loc) 593 B
/** * @license chowa v1.1.3 * * Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn). * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import * as React from 'react'; declare type LabelPosition = 'top' | 'left' | 'right'; export interface FormItemProps { className?: string; style?: React.CSSProperties; label?: React.ReactNode; labelPosition?: LabelPosition; required?: boolean; span?: number; } declare const FormItem: React.SFC<FormItemProps>; export default FormItem;