mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +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;
|