@open-tender/ui
Version:
A component library for use with the Open Tender web app
14 lines (13 loc) • 428 B
TypeScript
import React, { ReactNode } from 'react';
import { ScreenConfig, Styles } from '../types';
export interface LabelProps {
config: ScreenConfig;
children: ReactNode;
label?: string;
isRequired?: boolean;
hasValue?: boolean;
style?: Styles;
showOptional?: boolean;
}
declare const Label: ({ config, children, label, isRequired, hasValue, style }: LabelProps) => React.JSX.Element;
export default Label;