移除gitignore中的lib文件夹,上传被排除掉的前端lib文件
This commit is contained in:
10
dashboard/src/lib/animation-context.ts
Normal file
10
dashboard/src/lib/animation-context.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { createContext } from 'react'
|
||||
|
||||
export type AnimationSettings = {
|
||||
enableAnimations: boolean
|
||||
enableWavesBackground: boolean
|
||||
setEnableAnimations: (enable: boolean) => void
|
||||
setEnableWavesBackground: (enable: boolean) => void
|
||||
}
|
||||
|
||||
export const AnimationContext = createContext<AnimationSettings | undefined>(undefined)
|
||||
Reference in New Issue
Block a user