Closed hirotomoyamada closed 1 month ago
script: component-display-name package: @yamada-ui/color-picker
The component "@yamada-ui/color-picker" uses forwardRef, but displayName is not set, making it difficult to see the display in React Developer Tools.
forwardRef
displayName
Set displayName and __ui__ after each component definition.
__ui__
For example, like this.
const Component = forwardRef((props, ref) => { ... }) Component.displayName = 'Component' Component.__ui__ = 'Component'
Replace 'component' with the name of the component. For example, for a Select component, it is 'Select'.
'component'
Select
'Select'
__ui__ is an identifier required for internal use by Yamada UI. Be sure to set it together with displayName.
I'll try this issue
Assigned you!! Good Luck!!
script: component-display-name package: @yamada-ui/color-picker
Description
The component "@yamada-ui/color-picker" uses
forwardRef
, butdisplayName
is not set, making it difficult to see the display in React Developer Tools.Additional Information
Set
displayName
and__ui__
after each component definition.For example, like this.
Replace
'component'
with the name of the component. For example, for aSelect
component, it is'Select'
.__ui__
is an identifier required for internal use by Yamada UI. Be sure to set it together withdisplayName
.