From 16db8192ff230dc3a8e9e6dbed2345c47fcf153c Mon Sep 17 00:00:00 2001 From: blam Date: Mon, 9 Aug 2021 17:20:18 +0200 Subject: [PATCH] chore: added some more of an example Signed-off-by: blam --- .../writing-custom-field-extensions.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/features/software-templates/writing-custom-field-extensions.md b/docs/features/software-templates/writing-custom-field-extensions.md index af703029e3..56c7310809 100644 --- a/docs/features/software-templates/writing-custom-field-extensions.md +++ b/docs/features/software-templates/writing-custom-field-extensions.md @@ -21,4 +21,12 @@ Field extensions are a way to combine an ID, a `React` Component and a `validation` function together in a modular way that you can then use to pass to the `Scaffolder` frontend plugin in your own `App.tsx`. -You can create your own Field Extension by us +You can create your own Field Extension by using the `createScaffolderFieldExtension` `API` like below: + +```tsx +//packages/app/scaffolder/ +const CustomFieldExtensionComponent = () => { + +} + +