1.0.28 • Published 5 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
5 years ago
1.0.27
5 years ago
1.0.26
5 years ago
1.0.25
5 years ago
1.0.24
5 years ago
1.0.23
5 years ago
1.0.22
5 years ago
1.0.21
5 years ago
1.0.20
5 years ago
1.0.19
5 years ago
1.0.18
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago