feat: add new affine loading component

This commit is contained in:
himself65
2023-04-11 22:57:20 -05:00
parent 07a11ed767
commit db8fe4e09a
12 changed files with 1588 additions and 8 deletions
+2
View File
@@ -46,3 +46,5 @@ export function atomWithSyncStorage<Value>(key: string, initialValue: Value) {
return anAtom;
}
export * from './resource';
+5
View File
@@ -0,0 +1,5 @@
import { atom } from 'jotai';
export const lottieAtom = atom(async () =>
import('lottie-web').then(m => m.default)
);