UNPKG
antd-v5
Version:
latest (5.14.1)
5.14.1
An enterprise-class UI design language and React components implementation
ant.design
antd-v5
/
lib
/
layout
/
context.d.ts
9 lines
(8 loc)
•
250 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
*
as
React
from
'react'
;
export
interface
LayoutContextProps
{
siderHook
: {
addSider
:
(
id
:
string
) =>
void
;
removeSider
:
(
id
:
string
) =>
void
; }; }
export
declare
const
LayoutContext
:
React
.
Context
<
LayoutContextProps
>;