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