mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 19:16:29 +08:00
feat: add new affine loading component
This commit is contained in:
@@ -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