Skip to content

Commit

Permalink
Fix #6940: Inplace update doc for active and controlled mode (#6959)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Jul 31, 2024
1 parent ac3e7ec commit c263514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/inplace/inplace.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ interface InplaceToggleEvent {
*/
export interface InplaceProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'ref'> {
/**
* Whether the content is displayed or not.
* Whether the content is displayed or not. To use in controlled mode you must implement `onToggle` callback at a minimum.
* @defaultValue false
*/
active?: boolean | undefined;
Expand Down

0 comments on commit c263514

Please sign in to comment.