pouncejs
Version:
A collection of UI components from Panther labs
17 lines (15 loc) • 495 B
JavaScript
import { pounce } from '../../system';
import { __DEV__ } from '../../utils/helpers';
export var AbstractButton = pounce('button'); // The component should render a button by default, with some default styles
AbstractButton.defaultProps = {
type: 'button',
cursor: 'pointer',
color: 'white-200',
textDecoration: 'none',
backgroundColor: 'transparent',
transition: 'all 0.1s linear'
};
export default AbstractButton;
if (__DEV__) {
AbstractButton.displayName = 'AbstractButton';
}