Files
bigcapital/src/containers/AlertsContainer/index.js
2021-10-30 20:55:50 +02:00

14 lines
326 B
JavaScript

import React from 'react';
import { AlertLazy } from './components'
import registered from './registered';
export default function AlertsContainer() {
return (
<React.Fragment>
{registered.map((alert) => (
<AlertLazy name={alert.name} Component={alert.component} />
))}
</React.Fragment>
);
}