Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: update props descriptions",
"packageName": "@fluentui/react-tags-preview",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fluentui/react-tags-preview",
"version": "0.2.12",
"description": "React components for building web experiences",
"description": "Fluent UI Tag component",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
"typings": "./dist/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ export type InteractionTagPrimarySlots = {
root: NonNullable<Slot<'button'>>;

/**
* Slot for an icon or other visual element
* Slot for a visual element, usually an avatar
*/
media?: Slot<'span'>;

/**
* Slot for an icon
*/
icon?: Slot<'span'>;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ export type TagSlots = {
root: NonNullable<Slot<'button', 'span'>>;

/**
* Slot for an icon or other visual element
* Slot for a visual element, usually an avatar
*/
media?: Slot<'span'>;

/**
* Slot for an icon
*/
icon?: Slot<'span'>;

/**
Expand All @@ -24,6 +27,9 @@ export type TagSlots = {
*/
secondaryText?: Slot<'span'>;

/**
* Slot for the dismiss icon
*/
dismissIcon?: Slot<'span'>;
};

Expand Down