Alert #
Preview #
Check the demo folder here
Usage #
Install it via
npm i @yeci/alert
Use it in your project
- import
import Alert from '@yeci/alert';
- Use
<Alert alertMessage="Hello World" />
Customize #
<Alert alertMessage="Hello Alert" spinnerProps={{ background: '#FF5722', padding: '20px', borderRadius='4px', textAlign='center' }} />
alertMessage - The message in Alert (Required)
background - The Alert’s background
padding - The padding in Alert
borderRadius - Rounded corners of Alert border
textAlign - Alignment of characters in Alert.
Source Code #
Changelog #
0.0.7
Fixed:
-
It works.
-
Removed sass, this is js version not ts version.
0.0.6
This version doesn’t work.
0.0.5
This version doesn’t work.
0.0.4
This version doesn’t work.
0.0.3
This version doesn’t work.
0.0.2
This version doesn’t work.
0.0.1
This version doesn’t work.