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