Skip to content

Commit

Permalink
feat(react-tags): export TagGroupContextValues type (#30645)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsunderhus committed Feb 28, 2024
1 parent d27ded5 commit ace98f7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "feat: export TagGroupContextValues type",
"packageName": "@fluentui/react-tags",
"email": "bernardo.sunderhus@gmail.com",
"dependentChangeType": "patch"
}
5 changes: 5 additions & 0 deletions packages/react-components/react-tags/etc/react-tags.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ export const TagGroup: ForwardRefComponent<TagGroupProps>;
// @public (undocumented)
export const tagGroupClassNames: SlotClassNames<TagGroupSlots>;

// @public (undocumented)
export type TagGroupContextValues = {
tagGroup: TagGroupContextValue;
};

// @public
export type TagGroupProps<Value = TagValue> = ComponentProps<TagGroupSlots> & {
onDismiss?: TagDismissHandler<Value>;
Expand Down
2 changes: 1 addition & 1 deletion packages/react-components/react-tags/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export {
useTagGroup_unstable,
useTagGroupContextValues_unstable,
} from './TagGroup';
export type { TagGroupProps, TagGroupSlots, TagGroupState } from './TagGroup';
export type { TagGroupProps, TagGroupSlots, TagGroupState, TagGroupContextValues } from './TagGroup';

export { useTagAvatarContextValues_unstable } from './utils';
export type {
Expand Down

0 comments on commit ace98f7

Please sign in to comment.