Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork270
How do slots work on CSmartTable?#318
-
Hello, We're running Coreui-react pro on a project and making use of the CSmartTable. The cleaner button really doesn't fit the project style, and I'm looking to adjust it. The document says that it can be customized through the cleaner slot, but I'm unable to figure out how that works. I've attempted slot / scopedSlots = {{cleaner: () => JSX.Element;}} with/without quotes around cleaner (v3 pattern), using a child component in the table with a slot prop, adding it into scopedColumns (didn't expect it to work but thought I would try), and a number of other things. I cant seem to find any similar topics, but would appreciate being pointed in that direction too. Is anyone able to advise how to replace the style of the cleaner button? |
BetaWas this translation helpful?Give feedback.