mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
8 lines
318 B
React
8 lines
318 B
React
![]() |
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);
|