0.0.22 • Published 9 years ago
hs-ui v0.0.22
HotSchedules UI Components
###Usage
Install using npm
npm install hs-ui --save##Components
###AlertBar
import { AlertBar } from 'hs-ui';
<AlertBar>This is an alert bar</AlertBar>
<AlertBar type='error'>There was an error</AlertBar>
<AlertBar type='warning'>This is warning</AlertBar>
<AlertBar type='success'>Great Success!</AlertBar>###Avatar
import { Avatar } from 'hs-ui';
<Avatar
firstName='Avatar'
lastName='Regular'
src='http://bit.ly/2lTklHQ'
/>###Badge
import { Badge } from 'hs-ui';
<Badge />
<Badge type='error' />
<Badge type='warning' />
<Badge type='success' />###Button
import { Button } from 'hs-ui';
<Button label='Primary' />
<Button
label='Secondary'
type='secondary'
/>###Card
import { Card, CardActions, CardContent, CardHeader } from 'hs-ui';###Checkbox
import { Checkbox } from 'hs-ui';
<Checkbox label='Checkbox' />###Flex
import { Flex } from 'hs-ui';###Grid
import { Grid, Row, Column } from 'hs-ui';###IconBadge
import { IconBadge } from 'hs-ui';
<IconBadge />
<IconBadge type='error'/>
<IconBadge type='warning'/>
<IconBadge type='success'/>###Link
import { Link } from 'hs-ui';###Modal
import { Modal, ModalActions, ModalContent, ModalHeader } from 'hs-ui';###RadioButton
import { RadioButton } from 'hs-ui';
<RadioButton
label='Radio Button'
name='set-1'
/>###Select
import { Select } from 'hs-ui';
<Select
placeholder='Country'
options={['Australia', 'Brazil', 'Canada', 'US']}
selectedIndex={0}
onChange={(i) => {console.log(i)}}
/>###SubNav
import { SubNav, SubNavItem } from 'hs-ui';###Text
import { Text } from 'hs-ui';###TextArea
import { TextArea } from 'hs-ui';
<TextField
label='Label'
placeholder='Normal'
/>###TextField
import { TextField } from 'hs-ui';
<TextArea
label='Label'
placeholder='Normal'
value='Disrupt venture capital entrepreneur agile innovate sticky note innovate human-centered design system innovate.'
rows={4}
/>###Toast
import { ToastActions, ToastContainer, Toast } from 'hs-ui';###Tooltip
import { TooltipActions, TooltipContainer, Tooltip } from 'hs-ui';0.0.22
9 years ago
0.0.21
9 years ago
0.0.20
9 years ago
0.0.19
9 years ago
0.0.18
9 years ago
0.0.17
9 years ago
0.0.16
9 years ago
0.0.15
9 years ago
0.0.14
9 years ago
0.0.13
9 years ago
0.0.12
9 years ago
0.0.11
9 years ago
0.0.10
9 years ago
0.0.9
9 years ago
0.0.8
9 years ago
0.0.7
9 years ago
0.0.6
9 years ago
0.0.5
9 years ago
0.0.4
9 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago