fix: export props and mark component public
Signed-off-by: djamaile <rdjamaile@gmail.com>
This commit is contained in:
@@ -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)
|
||||
```
|
||||
|
||||
@@ -14,3 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
export { GroupListPicker } from './plugin';
|
||||
export type { GroupListPickerProps } from './components/GroupListPicker';
|
||||
|
||||
@@ -27,6 +27,7 @@ export const orgReactPlugin = createPlugin({
|
||||
},
|
||||
});
|
||||
|
||||
/** @public */
|
||||
export const GroupListPicker = orgReactPlugin.provide(
|
||||
createRoutableExtension({
|
||||
name: 'GroupListPicker',
|
||||
|
||||
Reference in New Issue
Block a user