You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
275 B

import React from 'react';
import type { ListGridType } from '.';
export interface ListConsumerProps {
grid?: ListGridType;
itemLayout?: string;
}
export const ListContext = React.createContext<ListConsumerProps>({});
export const ListConsumer = ListContext.Consumer;