Replies: 1 comment 6 replies
-
@iwasingh How custom is this component? Will it be using the aria/stately hooks or is it wrapping a component straight from the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, first of all i would like to thank you for your work in this project and i appreciate the fact you made it available to use for everyone. Now the question, let's say i want to make a new custom component that inherits part of the style from spectrum(for instance an action button). How do i give the style to the component since everything is scoped and the package comes with a transpiled css? These are the possible solutions that i came up with:
%spectrum-BaseButton
or@extends %spectrum-BaseButton
or@inherit: %spectrum-BaseButton
, none of them worked outspectrum-css
and inherit the style from thatBeta Was this translation helpful? Give feedback.
All reactions