chore: add website preview templates (#1716)
This commit is contained in:
10
website/src/components/notification.js
Normal file
10
website/src/components/notification.js
Normal file
@ -0,0 +1,10 @@
|
||||
import React from 'react';
|
||||
import cn from 'classnames';
|
||||
|
||||
const Notification = ({ url, loud, children }) => (
|
||||
<a href={url} className={cn('notification', { 'notification-loud': loud })}>
|
||||
{children}
|
||||
</a>
|
||||
);
|
||||
|
||||
export default Notification;
|
Reference in New Issue
Block a user