@cwds/components
v1.5.6
Published
> TODO: description
Downloads
111
Keywords
Readme
@cwds/components
CARES components
🛑 NOTICE 🛑
This package may no longer be supported. Please see
ca-cwds/design-system
.
Installation
yarn add @cwds/components
Usage
import React from "react";
import ReactDOM from "react-dom";
import { Alert } from "@cwds/components";
import "@cwds/core/dist/styles.css";
function App() {
return (
<div className="App">
<Alert className="success">This is an alert message</Alert>
</div>
);
}
const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);
You can see in this live and interactive demo in sandbox