Generate pattern library for components
This commit is contained in:
parent
d46773cc94
commit
83e13c8b36
11 changed files with 193 additions and 4 deletions
|
|
@ -6,6 +6,11 @@ import {
|
|||
const defaultProps = {
|
||||
target: '_blank'
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @example ../../sample-site/csvdownload.example.md
|
||||
*/
|
||||
class CSVDownload extends React.Component {
|
||||
|
||||
static defaultProps = Object.assign(
|
||||
|
|
|
|||
|
|
@ -4,6 +4,10 @@ import {
|
|||
defaultProps as commonDefaultProps,
|
||||
propTypes as commonPropTypes} from '../metaProps';
|
||||
|
||||
/**
|
||||
*
|
||||
* @example ../../sample-site/csvlink.example.md
|
||||
*/
|
||||
class CSVLink extends React.Component {
|
||||
|
||||
static defaultProps = commonDefaultProps;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue