Generate pattern library for components

This commit is contained in:
abdennour 2017-02-18 12:11:34 +03:00
commit 83e13c8b36
11 changed files with 193 additions and 4 deletions

View file

@ -6,6 +6,11 @@ import {
const defaultProps = {
target: '_blank'
};
/**
*
* @example ../../sample-site/csvdownload.example.md
*/
class CSVDownload extends React.Component {
static defaultProps = Object.assign(

View file

@ -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;