prosperita-dumbo-react
Version:
**Dumbo React** é uma biblioteca de componentes React que facilita a manipulação de propriedades em seus componentes. Ela fornece uma forma simples e eficiente de gerenciar e manipular props, tornando seu código mais limpo e fácil de manter.
31 lines • 985 B
TypeScript
import { ReactNode } from "react";
import "@fontsource/ibm-plex-sans";
export type ItypeModal = {
label?: ReactNode;
textLabel?: ReactNode;
buttons?: IbuttonProps[];
open?: boolean;
children?: React.ReactNode;
onClose?: () => void;
backgroundModal?: string;
background?: string;
height?: string;
width?: string;
overflow?: boolean;
radius?: boolean;
closeButtonModal?: boolean;
};
type IbuttonProps = {
label?: string;
icon?: string;
onClick?: () => void;
disabled?: boolean;
hasIconSvg?: boolean;
dimension?: string;
loading?: boolean;
size?: "large" | "medium" | "small" | "extraLarge" | "twoXLarge" | "expressive";
kind?: "primary" | "secondary" | "tertiary" | "ghost" | "dangerPrimary" | "dangerTertiary" | "dangerGhost";
};
export declare const Modal: (props: ItypeModal) => import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=index.d.ts.map