ews-components
v0.1.0
Published
EWS React Components
Downloads
2
Readme
UW Enterprise Web Services React Components
This is a start at a react component registry for EWS/UW related frontend react components.
Usage
npm install ews-components --save
Components
Props:
- url: url to link header logo to
- title: title attribute for header logo
- pages: list of right side links
- display: the clickable text
- url: where to link to
- isNavigable: Link vs NavLink (react-router integration)
Usage
import { HeaderUW as Header } from 'ews-components';
const pages = [
{ isNavigable: true, path: "/", display: "Register" },
{ isNavigable: true, path: "/config", display: "Config"}
];
[...]
<Header pages={pages} title="My UW Title" url="https://uw.edu" />
Props:
- title: Centered text in footer
- url: Optional link for title
Usage
import { FooterUW as Footer} from 'ews-components';
[...]
<Footer title="My UW Webpage Footer" url="https://uw.edu"