1.1.0
This release introduces API changes to <EditableTextLabel>
Changes
- API changes to
<EditableTextLabel>
:inEdit
prop now defaults toundefined
, which means the component is uncontrolled.- When
inEdit
is set eithertrue
orfalse
, the component is controlled prop is removed in favor of newonEditRequest
onDblClick
callback. Users can decide when to update the edit state.
- Behavior changes to
<EditableTextLabel>
:- Custom element passed via
icon
now renders correctly under edit mode - Double touch on mobile devices also triggers
onDblClick
callback. - If component is uncontrolled, it auto enters edit mode on double clicks/touches and leaves on edit ends.
- Custom element passed via