-
Example in https://tldraw.dev/examples/shapes/tools/custom-config is reusing existing icon and text, I think this is not good for the example, please add example that can direct real world cases. |
Beta Was this translation helpful? Give feedback.
Answered by
linonetwo
Mar 30, 2024
Replies: 1 comment 1 reply
-
There is clue that https://github.com/tldraw/tldraw/blob/adebb680e5ebe913b3e8a40e3a796d57b9ffd799/packages/tldraw/src/lib/ui/overrides.ts can allow passing custom text for tools, but no evident telling where to add this It is just the So this works
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
linonetwo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is clue that https://github.com/tldraw/tldraw/blob/adebb680e5ebe913b3e8a40e3a796d57b9ffd799/packages/tldraw/src/lib/ui/overrides.ts can allow passing custom text for tools, but no evident telling where to add this
overrides
.It is just the
ui-overrides
in the doc.So this works