2.0.15 • Published 6 years ago
the-info v2.0.15
the-info
Info of the-component
Installation
$ npm install the-info --save
Usage
Live Demo is hosted on GitHub Page
'use strict'
import React from 'react'
import { TheInfo, TheInfoStyle } from 'the-info'
class ExampleComponent extends React.PureComponent {
render () {
return (
<div>
<TheInfoStyle/>
<TheInfo
title="This is title"
data={{
row01: 'Text as row',
row03: 'Hidden row',
row02: <a>Node as row</a>,
}}
keys={['row02', 'row01']}
>
</TheInfo>
</div>
)
}
}
export default ExampleComponent
Components
TheInfo
Info of the-component
Props
Name | Type | Description | Default |
---|---|---|---|
data | objectOf node | Info data | {} |
keys | arrayOf string | Keys to show | null |
title | string | Info title | null |
role | 'grid' |
TheInfoStyle
Style for TheInfo
Props
Name | Type | Description | Default |
---|---|---|---|
options | object | Style options | {} |
License
This software is released under the MIT License.
Links
2.0.15
6 years ago
2.0.14
6 years ago
2.0.13
6 years ago
2.0.11
6 years ago
2.0.10
6 years ago
2.0.9
6 years ago
2.0.8
6 years ago
2.0.7
6 years ago
2.0.6
6 years ago
2.0.5
6 years ago
2.0.4
6 years ago
2.0.3
6 years ago
2.0.2
6 years ago
2.0.1
7 years ago
2.0.0
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago