Create new custom drawer size #6977
Unanswered
netcoding87
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Was able to solve it on my own 🎉 The solution is to use You can see a working example here: https://codesandbox.io/s/headless-thunder-sznnxe?file=/src/index.tsx:1244-1331 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am trying to add a new size to
Drawer
component to be used for one specific use case. Unfortunately I am unable to get it running... Based on https://chakra-ui.com/docs/styled-system/component-style#styling-multipart-components and this issue I tried to extend the theme, but it seems that the styles are not applied correctly...Does anyone of you can point me into the right direction?
Codesandbox: https://codesandbox.io/s/loving-solomon-bh9zmc?file=/src/index.tsx
Beta Was this translation helpful? Give feedback.
All reactions