@swrve/core
Version:
Core set of Swrve UI Components
6 lines (4 loc) • 424 B
Markdown
This component takes its children and arranges them in a rounded-rectangular shape.
It’s intended for use with button components (like <Button /> and <IconButton />).
Internally, it maps its children and clones each child, in order to inject a className prop with a dynamic value, for the appropriate application of border and border-radius styles.
See the corresponding storybook entry for more extensive documentation.