Skip to content

Getting type error on checkbox api.controlProps on SVG element #1393

Discussion options

You must be logged in to vote

Hi @vincerubinetti,

Control props should be spread into a div or span element. Then you can render the svg inside the control.

If you really want to use the svg, I would recommend type casting.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vincerubinetti
Comment options

@segunadebayo
Comment options

Answer selected by segunadebayo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants