1.0.28 • Published 6 years ago
react-core-ui v1.0.28
React Core UI
npm install react-core-ui
Components Included:
Modal
import { Modal } from 'react-core-ui/lib/modal'
Basic Usage
<Modal
active={this.state.modalShow}
>
<h1>Modal Title</h1>
<p>Modal Body Text.</p>
</Modal>Props
- active ~ required: yes ~ type: bool
- children ~ required: yes ~ type: object | string
- overlayClassName ~ required: no ~ type: string
- modalClassName ~ required: no ~ type: string
- close ~ required: no ~ type: func
- closeNode ~ required: no ~ type: node
- onEscKeyDown ~ required: no ~ type: func
- onOverlayClick ~ required: no ~ type: func
Tooltip
import { Tooltip } from 'react-core-ui/lib/tooltip'
Basic Usage
<span
style={{ position: 'relative' }}
onMouseEnter={{ ... }}
onMouseLeave={{ ... }}
>
<Tooltip
active={this.state.tooltipShow}
position={'right'}
>
Some Tooltip Text.
</Tooltip>
</span>Props
- disabled ~ required: no ~ type: bool default: false
- active ~ required: no ~ type: bool default: false
- children ~ required: yes ~ type: object | string
- position ~ required: no ~ type: string ('top' | 'left' | 'right' | 'bottom') default: bottom
- dark ~ required: no ~ type: bool default: light
TODO
- Added Modal
- Browser Compatibility (Modal)
- Added Tooltip
- Browser Compatibility (Tooltip)
- Add jest testing suite.
- Add table component.
- Add input component.
- Add single and multi select components.
- Add Downdown component
- Add Autocomplete component
1.0.28
6 years ago
1.0.27
6 years ago
1.0.26
6 years ago
1.0.25
6 years ago
1.0.24
6 years ago
1.0.23
6 years ago
1.0.22
6 years ago
1.0.21
6 years ago
1.0.20
6 years ago
1.0.19
6 years ago
1.0.18
6 years ago
1.0.17
6 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago