From 05c2dda150a7a403300a2bd25a7763abcbfb6a3b Mon Sep 17 00:00:00 2001 From: Paulo Eduardo Peixoto Date: Tue, 12 Nov 2024 09:53:58 -0300 Subject: [PATCH] docs(docs/features/software-templates/writing-custom-field-extensions.md): adjust the imports in a "separate" way. Signed-off-by: Paulo Eduardo Peixoto --- .../writing-custom-field-extensions.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/features/software-templates/writing-custom-field-extensions.md b/docs/features/software-templates/writing-custom-field-extensions.md index 7431b91e64..9ccd6cf1b5 100644 --- a/docs/features/software-templates/writing-custom-field-extensions.md +++ b/docs/features/software-templates/writing-custom-field-extensions.md @@ -32,12 +32,10 @@ As an example, we will create a component that validates whether a string is in import React from 'react'; import { FieldExtensionComponentProps } from '@backstage/plugin-scaffolder-react'; import type { FieldValidation } from '@rjsf/utils'; -import { - FormControl, - FormHelperText, - Input, - InputLabel, -} from '@material-ui/core'; +import FormControl from '@material-ui/core/FormControl'; +import FormHelperText from '@material-ui/core/FormHelperText'; +import Input from '@material-ui/core/Input'; +import InputLabel from '@material-ui/core/InputLabel'; /* This is the actual component that will get rendered in the form */