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": "prerelease",
"comment": "docs: improve API documentation of card props",
"packageName": "@fluentui/react-card",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export type CardSlots = {
root: Slot<'div'>;

/**
* Select element represents a checkbox.
* Floating action that can be rendered on the top-right of a card. Often used together with
* `selected`, `defaultSelected`, and `onSelectionChange` props
*/
floatingAction?: Slot<'div'>;

Expand Down Expand Up @@ -71,7 +72,7 @@ export type CardProps = ComponentProps<CardSlots> & {
appearance?: 'filled' | 'filled-alternative' | 'outline' | 'subtle';

/**
* Sets the focus behavior for the card. If `true`, the card will use the `noTab` focus behavior.
* Sets the focus behavior for the card.
*
* `off`
* The card will not focusable.
Expand Down