UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

4 lines (3 loc) 163 B
type UseSyncStateProps<T> = readonly [() => T, (newValue: T) => void]; export declare const useSyncState: <T>(initialValue: T) => UseSyncStateProps<T>; export {};