mirror of
https://github.com/zhigang1992/react.git
synced 2026-03-06 22:37:03 +08:00
11 lines
199 B
TypeScript
11 lines
199 B
TypeScript
import React from 'react'
|
|
|
|
export interface Configs {
|
|
onChange?: Function
|
|
shouldScroll?: boolean
|
|
updateShouldScroll?: Function
|
|
}
|
|
|
|
export const ConfigContext = React.createContext<Configs>({})
|
|
|