mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 20:16:39 -04:00
8 lines
No EOL
318 B
JavaScript
8 lines
No EOL
318 B
JavaScript
import React from 'react';
|
|
import Button from 'react-bootstrap/lib/Button';
|
|
import { registerComponent } from 'meteor/vulcan:lib';
|
|
|
|
const BootstrapButton = ({ children, variant, size, ...rest }) =>
|
|
<Button bsStyle={variant} bsSize={size} {...rest}>{children}</Button>
|
|
|
|
registerComponent('Button', BootstrapButton); |