mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 20:49:14 +08:00
11 lines
227 B
TypeScript
11 lines
227 B
TypeScript
import React from 'react';
|
|
|
|
export interface ListConsumerProps {
|
|
grid?: any;
|
|
itemLayout?: string;
|
|
}
|
|
|
|
export const ListContext = React.createContext<ListConsumerProps>({});
|
|
|
|
export const ListConsumer = ListContext.Consumer;
|