adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
18 lines (17 loc) • 725 B
TypeScript
import React from "react";
import type { ExtendElementProps } from "../utils/extendElementProp";
export declare type FrameProps = ExtendElementProps<"div", {
className?: string;
/** The label of the frame (using <fieldset>/<legend>) */
label?: React.ReactNode;
/** The background color */
background?: "low" | "default" | "medium" | "high";
/** If true, is displayed as an inline element */
inline?: boolean;
/** If true, is scrollable */
scrollable?: boolean;
/** If true, shows a border */
border?: boolean;
padded?: boolean;
}>;
export declare function Frame({ children, className, inline, background, scrollable, border, label, padded, ...rest }: FrameProps): JSX.Element;