mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +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;
|