From c71676c97e90291d598e501ce095f3cdae00fde2 Mon Sep 17 00:00:00 2001 From: djamaile Date: Wed, 19 Oct 2022 13:16:42 +0200 Subject: [PATCH] chore: clean up Signed-off-by: djamaile --- plugins/org-react/api-report.md | 5 ++++- .../src/components/GroupListPicker/GroupListPicker.test.tsx | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/org-react/api-report.md b/plugins/org-react/api-report.md index da164ec053..587f5595aa 100644 --- a/plugins/org-react/api-report.md +++ b/plugins/org-react/api-report.md @@ -5,6 +5,8 @@ ```ts /// +import { GroupEntity } from '@backstage/catalog-model'; + // @public (undocumented) export const GroupListPicker: (props: GroupListPickerProps) => JSX.Element; @@ -12,7 +14,8 @@ export const GroupListPicker: (props: GroupListPickerProps) => JSX.Element; export type GroupListPickerProps = { placeholder?: string; groupTypes?: Array; - defaultGroup?: string; + initialGroup?: string | undefined; + onChange: (value: GroupEntity | undefined) => void; }; // (No @packageDocumentation comment for this package) diff --git a/plugins/org-react/src/components/GroupListPicker/GroupListPicker.test.tsx b/plugins/org-react/src/components/GroupListPicker/GroupListPicker.test.tsx index 5d8599528c..06d06d3b85 100644 --- a/plugins/org-react/src/components/GroupListPicker/GroupListPicker.test.tsx +++ b/plugins/org-react/src/components/GroupListPicker/GroupListPicker.test.tsx @@ -69,7 +69,8 @@ describe('', () => { {}} /> , ); @@ -83,6 +84,8 @@ describe('', () => { {}} /> , );