carbon-design-system / carbon-components-svelte

Svelte implementation of the Carbon Design System
https://svelte.carbondesignsystem.com
Apache License 2.0
2.71k stars 261 forks source link

feat(layer): first pass at `Layer` component #1932

Closed SimpleProgrammingAU closed 7 months ago

SimpleProgrammingAU commented 8 months ago

I've had a crack at implementing the Layer component.

I wasn't sure how to approach porting the useLayer function from React.

Also, how should we set the Context value?