From 4ff8b25918f8441696baa393b10435a384fbc8eb Mon Sep 17 00:00:00 2001 From: Michal Klobukowski Date: Wed, 28 Nov 2018 12:40:43 +0100 Subject: [PATCH] Add classes prop to ResourcePropertiesForm Feature #14393 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- .../resource-properties-form.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views-components/resource-properties-form/resource-properties-form.tsx b/src/views-components/resource-properties-form/resource-properties-form.tsx index eeddf12c..a62b3d15 100644 --- a/src/views-components/resource-properties-form/resource-properties-form.tsx +++ b/src/views-components/resource-properties-form/resource-properties-form.tsx @@ -4,19 +4,22 @@ import * as React from 'react'; import { InjectedFormProps } from 'redux-form'; -import { Grid, withStyles } from '@material-ui/core'; +import { Grid, withStyles, WithStyles } from '@material-ui/core'; import { PropertyKeyField, PROPERTY_KEY_FIELD_NAME } from './property-key-field'; import { PropertyValueField, PROPERTY_VALUE_FIELD_NAME } from './property-value-field'; import { ProgressButton } from '~/components/progress-button/progress-button'; +import { GridClassKey } from '@material-ui/core/Grid'; export interface ResourcePropertiesFormData { [PROPERTY_KEY_FIELD_NAME]: string; [PROPERTY_VALUE_FIELD_NAME]: string; } -export const ResourcePropertiesForm = ({ handleSubmit, submitting, invalid }: InjectedFormProps) => +export type ResourcePropertiesFormProps = InjectedFormProps & WithStyles; + +export const ResourcePropertiesForm = ({ handleSubmit, submitting, invalid, classes }: ResourcePropertiesFormProps ) =>
- + -- 2.30.2