Closed allan-chagas-brisa closed 6 months ago
The update introduces the IonDivider
component, designed to visually separate content sections in both horizontal and vertical orientations, and with customizable styles (solid or dashed). This enhancement also includes thorough testing, story demonstrations, and styled component configurations for flexible integration.
Files | Change Summary |
---|---|
src/components/divider/divider.tsx src/components/divider/divider.test.tsx |
Introduced IonDivider with tests covering various styles and orientations. |
src/components/divider/styled.ts |
Added styled components for customizing divider appearance. |
src/components/divider/index.ts |
Exports the new divider component functionality. |
src/stories/divider/divider.stories.tsx |
Storybook entries showcasing the IonDivider with and without labels. |
🐰✨ A line to divide, a dash and a dot, Horizontal, vertical, solid or not. Crafted with care, for screens big and small,
IonDivider
, a hero, standing tall! 🌟🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
Divider component added.
How to Test
yarn test divider
Compliance
Summary by CodeRabbit
IonDivider
component, capable of rendering dividers with optional labels and customizable styles (solid or dashed) and orientation (horizontal or vertical).IonDivider
with and without labels.