JSPM

  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q57474F
  • License MIT

The Alert component delivers user alerts based on info, success, warning, or danger. It offers actionable alerts with titles, content, and buttons, and solid bars for informational alerts. Customize edges and styles, all enhanced by theming.

Package Exports

  • @tidy-ui/alert

Readme

Tidy UI

@tidy-ui/alert npm (scoped)

Quality Gate Status

Publishing Coverage Vulnerabilities Bugs Security Rating Maintainability Rating Code Smells Lines of Code Technical Debt Reliability Rating Duplicated Lines (%)

Project Description

Tidy UI is a family of components necessary for your react application. The components are powered styled-components, features include css-in-js, theming etc

Build with

  • react
  • styled-components
  • rollup
  • lerna

Installation

yarn add @tidy-ui/alert
npm i @tidy-ui/alert

Getting started

Here is a sample root level component that should enclose all tidy-ui components

import React from 'react';
import { TidyUiProvider, orchidLight } from '@tidy-ui/commons';
import { ... } from '@tidy-ui/alert';

function App() {
  return <TidyUiProvider theme={orchidLight}>...</TidyUiProvider>;
}

export default App;

Include required components with in the place holder ...

Storybook

Visit the storybook and start using components in your app.