chore: clean up

Signed-off-by: djamaile <rdjamaile@gmail.com>
This commit is contained in:
djamaile
2022-10-19 13:16:42 +02:00
parent 420fe8a786
commit c71676c97e
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -5,6 +5,8 @@
```ts
/// <reference types="react" />
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<string>;
defaultGroup?: string;
initialGroup?: string | undefined;
onChange: (value: GroupEntity | undefined) => void;
};
// (No @packageDocumentation comment for this package)
@@ -69,7 +69,8 @@ describe('<GroupListPicker />', () => {
<GroupListPicker
placeholder="Search"
groupTypes={['org', 'department']}
defaultGroup="test"
initialGroup="test"
onChange={() => {}}
/>
</ApiProvider>,
);
@@ -83,6 +84,8 @@ describe('<GroupListPicker />', () => {
<GroupListPicker
placeholder="Search"
groupTypes={['org', 'department']}
initialGroup="Group A"
onChange={() => {}}
/>
</ApiProvider>,
);