mofron is module based frontend framework.
ujarak button component for mofron
this source based on the codrops: https://github.com/codrops/ButtonStylesInspiration
- this component doesn't support baseColor function.
npm install mofron mofron-comp-button-ujarak
Short Form |
Parameter Name | Type | Description |
---|---|---|---|
text | mixed | string: button text contents | |
mofron-comp-text: button text component | |||
undefined: call as getter | |||
mainColor | mixed (color) | string: button text color name, #hex | |
array: [red, green, blue, (alpha)] | |||
undefined: calla as getter | |||
dict | style option | ||
accentColor | mixed (color) | string: hover color name, #hex | |
array: [red, green, blue, (alpha)] | |||
undefined: calla as getter |