feat: add new affine loading component
This commit is contained in:
1 parent
07a11ed767
commit
db8fe4e09a
12 files changed
+1588
-8
No files matched your search
@@ -46,3 +46,5 @@ export function atomWithSyncStorage<Value>(key: string, initialValue: Value) {
|
||||
|
||||
return anAtom;
|
||||
}
|
||||
|
||||
export * from './resource';
|
||||
@@ -0,0 +1,5 @@
|
||||
import { atom } from 'jotai';
|
||||
|
||||
export const lottieAtom = atom(async () =>
|
||||
import('lottie-web').then(m => m.default)
|
||||
);
|
||||
Reference in new issue
Block a user