react-layouts-builder
Version:
Lightweight and powerfull react layouts drag and drop
13 lines (12 loc) • 469 B
TypeScript
import { LayoutType } from 'layouts-builder/interfaces/types';
import React, { FC } from 'react';
declare type LayoutContextType = {
dataItem: LayoutType | undefined;
setDataItem: React.Dispatch<React.SetStateAction<LayoutType | undefined>>;
};
export declare const LayoutContext: React.Context<LayoutContextType>;
interface LayoutProviderProps {
children: JSX.Element;
}
export declare const LayoutProvider: FC<LayoutProviderProps>;
export {};