passing children or css attribute to component style config chakra ui

Viewed 191

Is there a possibility to pass a children prop or atleast css attribute like title to component style config in chakra ui?

children

css atribute

1 Answers

When using "attr" just pass the variable as a plain string instead of wrapping it with template literals. Using children is not possible there i guess.

Related