@cwds/reactstrap
v1.5.6
Published
reactstrap components for CWS-CARES
Downloads
84
Keywords
Readme
@cwds/reactstrap
Styled reactstrap components for CARES.
🛑 NOTICE 🛑
This package may no longer be supported. Please see
ca-cwds/design-system
.
This library mostly re-exports components from reactstrap
and applies a global cssModule.
Usage
import React from "react";
import ReactDOM from "react-dom";
import { Card, CardHeader, CardBody, CardTitle } from "@cwds/reactstrap";
function App() {
return (
<div>
<Card>
<CardHeader>
<CardTitle>I am a card</CardTitle>
</CardHeader>
<CardBody className="pt-0">
This is a card from cwds reactstrap
</CardBody>
</Card>
</div>
);
}
const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);
You probably mean to consume @cwds/components
.