houdini/app/javascript/components/common/progress/AnimatedCheckmark.stories.tsx

26 lines
535 B
TypeScript
Raw Normal View History

2021-03-10 20:47:11 +00:00
// License: LGPL-3.0-or-later
import * as React from 'react';
import AnimatedCheckmark, {AnimatedCheckmarkProps} from './AnimatedCheckmark';
export default {
title: 'users/AnimatedCheckmark',
component: AnimatedCheckmark,
};
type TemplateArgs = AnimatedCheckmarkProps;
const CheckmarkTemplate = (args:TemplateArgs) => {
return <AnimatedCheckmark
{...args}
key={Math.random() /* so it reloads everytime props change */}></AnimatedCheckmark>;
};
export const Checkmark = CheckmarkTemplate.bind({});
Checkmark.args = {
};