Norbert de Langen f7cd337677
FIX eslint
2018-08-15 04:56:20 +02:00

16 lines
418 B
JavaScript

import React from 'react';
import DocgenButton from './DocgenButton';
/** Button component description */
const ImportedPropsButton = ({ disabled, label, onClick }) => (
<button type="button" disabled={disabled} onClick={onClick}>
{label}
</button>
);
ImportedPropsButton.defaultProps = DocgenButton.defaultProps;
ImportedPropsButton.propTypes = DocgenButton.propTypes;
export default ImportedPropsButton;