houdini/app/javascript/components/common/progress/AnimatedCheckmark.stories.tsx
2021-03-10 15:24:00 -06:00

25 lines
535 B
TypeScript

// 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 = {
};