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/data/Counter.stories.js

16 lines
449 B

import React from 'react';
import Counter from './Counter';
export default {
title: 'components/data/Counter',
component: Counter,
};
export const Default = () => <Counter count={123} />;
export const WithPositiveVariation = () => <Counter count={123} variation={4} />;
export const WithNegativeVariation = () => <Counter count={123} variation={-4} />;
export const WithDescription = () => <Counter count={123} description='Description' />;