9 lines
250 B
TypeScript
9 lines
250 B
TypeScript
|
import * as React from 'react';
|
||
|
export interface LayoutContextProps {
|
||
|
siderHook: {
|
||
|
addSider: (id: string) => void;
|
||
|
removeSider: (id: string) => void;
|
||
|
};
|
||
|
}
|
||
|
export declare const LayoutContext: React.Context<LayoutContextProps>;
|