Closed Mav-Ivan closed 1 hour ago
Implement a reusable Divider component that meets the design system standards. This component will be used throughout the application to maintain consistency in divider styles, behavior, and accessibility.
Divider
Figma
Styles:
Props:
variant
orientation
textAlign
type
Don't forget to cover component with tests and add to the storybook.
Description:
Implement a reusable
Divider
component that meets the design system standards. This component will be used throughout the application to maintain consistency in divider styles, behavior, and accessibility.Figma
Requirements:
Styles:
Props:
variant
: Defines type (linear, ellipse, middle).orientation
: Define orientation (vertical, horizontal)textAlign
: Define align for the text that will be provided by children's propstype
: Define type (ellipse, linear)Don't forget to cover component with tests and add to the storybook.