Add Button component
romelperez opened this issue · comments
Romel Perez commented
DEPENDS ON #105
Add form, call-to-action, and link button component:
- Add
Button
component: - Add
children
required prop with text content. - Add
palette
variations. - Add
disabled
variation. - Add
active
variation. - Add
FrameComponent
prop to configure the button frame.- By default, it is the
FrameUnderline
component. - It should support
palette
variation. - It should support
disabled
variation.
- By default, it is the
- Pass
onClick
event only when animator ENTERED. - Add
click
bleep only when animator ENTERED. - Render a highlight animation effect when clicked.
- Remove in-built browser mobile on click/tap effect.