app

v0.0.1arrow_drop_down
v0.0.1
STATUS
None
DOWNLOADS
4
VISIBILITY
Public
PUBLISHED
7 years ago
SIZE
N/A
root component which sets colors for buttons and alerts using states
1 contributor
Install app as a package?
Copied
npm i @bit/bens.alert.global.app
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right

root component which sets colors for buttons and alerts using states

button componenet that generates alerts

alert shows when apprpriate button is pressed

Properties
NameTypeDescription
function
PropTypes.func

that creates an alert of the same color as the button

word
PropTypes.string

that determines what the color of button and alert are

category
PropTypes.string

helps determine color of buttons and alerts

children
PropTypes.string

is the the html text passed form the parent that states the color

MessageClass
PropTypes.string

the bootstrap term used to idenfity color of the alert based on the button

Help and resources