mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59:11 +00:00
16 lines
331 B
TypeScript
16 lines
331 B
TypeScript
import * as React from 'react';
|
|
import { Typist } from './Typist';
|
|
|
|
export default {
|
|
title: 'Atoms/Typist',
|
|
component: Typist,
|
|
args: {
|
|
charTimeout: 75,
|
|
resetTimeout: 2000,
|
|
lines: ['hello world', 'and again', 'a third', 'story time!'],
|
|
},
|
|
};
|
|
|
|
export const Looping = (args) => {
|
|
return <Typist {...args} />;
|
|
};
|