Skip to content

Commit 3faa51e

Browse files
committed
update prop description with use case
1 parent da2297d commit 3faa51e

File tree

1 file changed

+1
-1
lines changed
  • packages/react-core/src/components/Label

1 file changed

+1
-1
lines changed

packages/react-core/src/components/Label/Label.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface LabelProps extends React.HTMLProps<HTMLSpanElement> {
3131
isDisabled?: boolean;
3232
/** Flag indicating the label is editable. */
3333
isEditable?: boolean;
34-
/** Flag indicating the label is clickable. This flag will automatically be set if a href is passed, or if an onClick handler is passed and the label is not an overflow or add variant. */
34+
/** Flag indicating the label is clickable. This flag will automatically be set if a href is passed, or if an onClick handler is passed and the label is not an overflow or add variant. This should be manually set when using the render prop. */
3535
isClickable?: boolean;
3636
/** Additional props passed to the editable label text div. Optionally passing onInput and onBlur callbacks will allow finer custom text input control. */
3737
editableProps?: any;

0 commit comments

Comments
 (0)