X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/91805762d03955bc2b34804eecb9c6ee775b2528..e8e0182d65a74b1a222127eb8b36f31a906b14c8:/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 dd864a93..627e004d 100644 --- a/src/components/text-field/text-field.tsx +++ b/src/components/text-field/text-field.tsx @@ -18,17 +18,21 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ type TextFieldProps = WrappedFieldProps & WithStyles; -export const TextField = withStyles(styles)((props: TextFieldProps & { label?: string, autoFocus?: boolean, required?: boolean }) => +export const TextField = withStyles(styles)((props: TextFieldProps & { + label?: string, autoFocus?: boolean, required?: boolean, select?: boolean, disabled?: boolean, children: React.ReactNode +}) => ); @@ -51,7 +55,7 @@ export const RichEditorTextField = withStyles(styles)( } render() { - return ; @@ -60,7 +64,7 @@ export const RichEditorTextField = withStyles(styles)( ); export const DateTextField = withStyles(styles) - ((props: TextFieldProps) => + ((props: TextFieldProps) => + /> ); \ No newline at end of file