fix type error

This commit is contained in:
Florian Dold 2022-02-10 20:15:44 +01:00
parent 8920ea9c54
commit c0ef8c3d23
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -39,6 +39,12 @@ export function createExample<Props>(
transition: async () => {
null;
},
exportState: () => {
return "{}";
},
importState(s: string) {
/* do nothing */
},
}}
>
<Component {...args} />