piral-core
Version:
The core library for creating a Piral instance.
16 lines (15 loc) • 410 B
TypeScript
import * as React from 'react';
import { ComponentsState } from '../types';
/**
* The props for the SetLayout component.
*/
export interface SetLayoutProps {
/**
* The layout of the Piral instance.
*/
layout?: Partial<ComponentsState>;
}
/**
* The component capable of batch setting layout components.
*/
export declare function SetLayout({ layout }: SetLayoutProps): React.ReactElement;