mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: Add display name to components so it doesn't show as anonymous (#5616)
This commit is contained in:
parent
720f468f39
commit
43b13d8e3a
4 changed files with 6 additions and 1 deletions
|
@ -343,6 +343,8 @@ const ColorInput = React.forwardRef(
|
|||
},
|
||||
);
|
||||
|
||||
ColorInput.displayName = "ColorInput";
|
||||
|
||||
export const ColorPicker = ({
|
||||
type,
|
||||
color,
|
||||
|
|
|
@ -187,3 +187,5 @@ ToolButton.defaultProps = {
|
|||
className: "",
|
||||
size: "medium",
|
||||
};
|
||||
|
||||
ToolButton.displayName = "ToolButton";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue