2.0.15 • Published 7 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
7 years ago
2.0.14
7 years ago
2.0.13
7 years ago
2.0.11
7 years ago
2.0.10
7 years ago
2.0.9
7 years ago
2.0.8
7 years ago
2.0.7
7 years ago
2.0.6
7 years ago
2.0.5
7 years ago
2.0.4
7 years ago
2.0.3
7 years ago
2.0.2
7 years ago
2.0.1
8 years ago
2.0.0
8 years ago
1.0.3
8 years ago
1.0.2
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago