[React Native]: Create ButtonSecondary
component in shared UI component library
#178
Labels
ButtonSecondary
component in shared UI component library
#178
Description
Create a
ButtonSecondary
variant for theButton
component in React Native. This component will serve as the secondary button variant, adhering to the design specifications outlined in the Button Audit and Insight Report Figma Board. It should integrate seamlessly with the shared UI component library and follow best practices for accessibility and responsiveness.Technical Details
Component Implementation:
ButtonBase
component to create theButtonSecondary
variant.variant: "secondary"
size?: ButtonSize.Xs | ButtonSize.Sm | ButtonSize.Md | ButtonSize.Lg | ButtonSize.Xl
disabled?: boolean
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void
iconLeft?: ReactNode
iconRight?: ReactNode
className?: string
Styling:
ButtonSecondary
styling should clearly differentiate fromButtonPrimary
while maintaining harmony with the design system.Integration:
Testing:
Documentation:
ButtonSecondary
variant in Storybook, including:Acceptance Criteria
ButtonSecondary
variant matches the design specs in the Button Audit and Insight Report Figma Board.References
The text was updated successfully, but these errors were encountered: