@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
18 lines (17 loc) • 567 B
TypeScript
import * as React from 'react';
import { StyleProp, TextStyle, ViewStyle } from 'react-native';
import type { RequiredMark } from './Form';
import { FormItemStyle } from './style';
export interface FormItemLabelProps {
label?: React.ReactNode;
labelStyle?: StyleProp<ViewStyle | TextStyle>;
styles: Partial<FormItemStyle>;
/**
* @internal Used for pass `requiredMark` from `<Form />`
*/
requiredMark?: RequiredMark;
}
declare const FormItemLabel: React.FC<FormItemLabelProps & {
required?: boolean;
}>;
export default FormItemLabel;