X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/019459c71713b979cb4cc34ec3a91a947d2c235a..48b31a656df71cff73bed488d8827c61b096415b:/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 4d8c012f..dd864a93 100644 --- a/src/components/text-field/text-field.tsx +++ b/src/components/text-field/text-field.tsx @@ -16,7 +16,9 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ }, }); -export const TextField = withStyles(styles)((props: WrappedFieldProps & WithStyles & { label?: string, autoFocus?: boolean, required?: boolean }) => +type TextFieldProps = WrappedFieldProps & WithStyles; + +export const TextField = withStyles(styles)((props: TextFieldProps & { label?: string, autoFocus?: boolean, required?: boolean }) => ; +type RichEditorTextFieldProps = RichEditorTextFieldData & TextFieldProps; export const RichEditorTextField = withStyles(styles)( class RichEditorTextField extends React.Component { @@ -55,4 +57,21 @@ export const RichEditorTextField = withStyles(styles)( placeholder={this.props.label} />; } } -); \ No newline at end of file +); + +export const DateTextField = withStyles(styles) + ((props: TextFieldProps) => + + ); \ No newline at end of file