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