You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason the styled components aren't exported? It would be nice to be able to utilize the styling already built in BigDesign for our own custom components. For example, I need a table with expandable and nested rows, and other custom functionality not possible with how the BigDesign table component is built. But with the styled components, I could create my own table using react-table and make it match the rest of the application
The text was updated successfully, but these errors were encountered:
Hey @LordZardeck, the reason we don't export styled-components (sc) along with BigDesign is to decrease the bundle size. We require it as a peerDependency so that consumers will need to install it locally.
You can and should be able to create custom components using our theme. Firstly, you'll need to wrap your app in a ThemeProvider and pass in our theme, like so:
Is there a reason the styled components aren't exported? It would be nice to be able to utilize the styling already built in BigDesign for our own custom components. For example, I need a table with expandable and nested rows, and other custom functionality not possible with how the BigDesign table component is built. But with the styled components, I could create my own table using
react-table
and make it match the rest of the applicationThe text was updated successfully, but these errors were encountered: