Facing error while use {...arg} in react-daisyui

Viewed 14

Got the code from react-daisyUi.

return <Button {...args} />

When apply this code inside VS , then I got error for {...arg}.

How to use (...arg) in react daisyUi ?

0 Answers
Related