fix: export props and mark component public

Signed-off-by: djamaile <rdjamaile@gmail.com>
This commit is contained in:
djamaile
2022-10-18 16:40:37 +02:00
parent 6e5f08d260
commit 8be435714b
3 changed files with 9 additions and 3 deletions
+7 -3
View File
@@ -5,11 +5,15 @@
```ts
/// <reference types="react" />
// Warning: (ae-forgotten-export) The symbol "GroupListPickerProps" needs to be exported by the entry point index.d.ts
// Warning: (ae-missing-release-tag) "GroupListPicker" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const GroupListPicker: (props: GroupListPickerProps) => JSX.Element;
// @public
export type GroupListPickerProps = {
placeholder?: string;
groupTypes?: Array<string>;
defaultGroup?: string;
};
// (No @packageDocumentation comment for this package)
```
+1
View File
@@ -14,3 +14,4 @@
* limitations under the License.
*/
export { GroupListPicker } from './plugin';
export type { GroupListPickerProps } from './components/GroupListPicker';
+1
View File
@@ -27,6 +27,7 @@ export const orgReactPlugin = createPlugin({
},
});
/** @public */
export const GroupListPicker = orgReactPlugin.provide(
createRoutableExtension({
name: 'GroupListPicker',