X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3db1d07b3ab6cdfea052688088f569a173d6dab2..f5127724c5ca39a59a08ba20f843e530b0650be9:/src/components/text-field/text-field.tsx diff --git a/src/components/text-field/text-field.tsx b/src/components/text-field/text-field.tsx index 076889eabb..1bf51973d4 100644 --- a/src/components/text-field/text-field.tsx +++ b/src/components/text-field/text-field.tsx @@ -16,7 +16,7 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ }, }); -export const TextField = withStyles(styles)((props: WrappedFieldProps & WithStyles & { label?: string, autoFocus?: boolean }) => +export const TextField = withStyles(styles)((props: WrappedFieldProps & WithStyles & { label?: string, autoFocus?: boolean, required?: boolean }) => ); @@ -54,4 +55,22 @@ export const RichEditorTextField = withStyles(styles)( placeholder={this.props.label} />; } } -); \ No newline at end of file +); + +type DataTextFieldProps = WrappedFieldProps & WithStyles; + +export const DataTextField = withStyles(styles) + ((props: DataTextFieldProps) => + + ); \ No newline at end of file