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