apphouse
Version:
Component library for React that uses observable state management and theme-able components.
25 lines (24 loc) • 746 B
TypeScript
import React from 'react';
import { ApphouseComponent } from '../component.interfaces';
import { PopupBodyStyles } from './Popup.interface';
/**
* Interface for the popup body component
*/
export interface PopupBodyProps extends ApphouseComponent<PopupBodyStyles> {
/**
* If fullscreen it will occupy the whole window height
*/
fullscreen?: boolean;
/**
* The content of the popup body
*/
children?: React.ReactNode;
/**
* A fixed height for the popup body
* If number, it will be converted to px
* @optional
* @default auto
*/
height?: string | number;
}
export declare const PopupBody: React.ForwardRefExoticComponent<PopupBodyProps & React.RefAttributes<HTMLDivElement>>;