https://github.com/colbywhite/oui-alert
https://github.com/colbywhite/oui-alert
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/colbywhite/oui-alert
- Owner: colbywhite
- License: mit
- Created: 2022-02-05T04:22:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-06T02:36:06.000Z (over 3 years ago)
- Last Synced: 2025-01-30T00:33:46.780Z (4 months ago)
- Language: TypeScript
- Size: 124 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# \
This is an attempt to implement the OpenUI spec for an [alert].
## Usage
```html
import 'oui-alert/oui-alert.js';
Alert text
Alert text
Label
Alert text
```## npm scripts
```bash
npm start # local demo from `demo/index.html`
npm run lint # scan the project for linting and formatting errors
npm run format # automatically fix linting and formatting errors
npm run test # execute a single test
npm run test:watch # run the tests in interactive watch mode
npm run storybook # run a local instance of Storybook for your component
npm run storybook:build # build a production version of Storybook
```[alert]: https://docs.google.com/document/d/1d9eJ2AL5ni7bNENfi6i6M3Ap01kNnI-Oz-BC612mUM0