diff --git a/plugins/catalog-react/src/components/GroupListPicker/GroupListPicker.tsx b/plugins/catalog-react/src/components/GroupListPicker/GroupListPicker.tsx index ba0e2841af..98e7be3624 100644 --- a/plugins/catalog-react/src/components/GroupListPicker/GroupListPicker.tsx +++ b/plugins/catalog-react/src/components/GroupListPicker/GroupListPicker.tsx @@ -43,11 +43,18 @@ const useStyles = makeStyles({ }, }); -type GroupListPickerProps = { +/** + * Props for {@link GroupListPicker}. + * + * @public + */ +export type GroupListPickerProps = { label: string; groupTypes: Array; defaultGroup?: string; }; + +/** @public */ export const GroupListPicker = (props: GroupListPickerProps) => { const classes = useStyles(); const catalogApi = useApi(catalogApiRef); diff --git a/plugins/catalog-react/src/components/GroupListPicker/index.ts b/plugins/catalog-react/src/components/GroupListPicker/index.ts index be2819c850..fe1ba8e1ee 100644 --- a/plugins/catalog-react/src/components/GroupListPicker/index.ts +++ b/plugins/catalog-react/src/components/GroupListPicker/index.ts @@ -15,3 +15,4 @@ */ export { GroupListPicker } from './GroupListPicker'; +export type { GroupListPickerProps } from './GroupListPicker';