Skip to content

Commit 17e046c

Browse files
Fixes #1757 - Update jsdocs
1 parent f10a205 commit 17e046c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

packages/clay-label/src/ClayLabel.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,19 @@ type DisplayType = 'secondary' | 'info' | 'warning' | 'danger' | 'success';
1212

1313
interface Props
1414
extends React.BaseHTMLAttributes<HTMLAnchorElement | HTMLSpanElement> {
15+
/**
16+
* HTML properties that are applied to the 'x' button.
17+
*/
1518
closeButtonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
19+
20+
/**
21+
* Determines the style of the label.
22+
*/
1623
displayType?: DisplayType;
24+
25+
/**
26+
* Flag to indicate if the label should be of the `large` variant.
27+
*/
1728
large?: boolean;
1829
}
1930

0 commit comments

Comments
 (0)