Build out a Layer
component as a replacement for the light
prop
#9185
Closed
Layer
component as a replacement for the light
prop
#9185
This work builds on top of the contextual tokens work that's been implemented for
@carbon/styles
.Layer
will be a simple component that will be a replacement for thelight
prop. the way it works is that it will be a simple container that will render thecds--layer
class name. This class name remaps any contextual tokens that are in play to the next step in their layer set.The
Layer
component can be configured to be any element type that the user wants.This work should include usage documentation.
The text was updated successfully, but these errors were encountered: