The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/client/components/basic/ErrorAlert.stories.js

16 lines
394 B

import React from 'react';
import { rocketChatWrapper } from '../../../.storybook/helpers';
import { ErrorAlert } from './ErrorAlert';
export default {
title: 'basic/ErrorAlert',
component: ErrorAlert,
decorators: [
rocketChatWrapper,
],
};
export const _default = () => <ErrorAlert>Content</ErrorAlert>;
export const withTitle = () => <ErrorAlert title='Title'>Content</ErrorAlert>;