UNPKG

@reusable-ui/basic

Version:

A styled basic building block of Reusable-UI components.

12 lines (11 loc) 845 B
import { default as React } from 'react'; import { ResizableProps, ThemeableProps, GradientableProps, OutlineableProps, MildableProps, NudibleProps } from '@reusable-ui/core'; import { GenericProps } from '@reusable-ui/generic'; export declare const useBasicStyleSheet: () => import("@cssfn/css-types").CssScopeMap<"main">; export interface BasicProps<TElement extends Element = HTMLElement> extends GenericProps<TElement>, ResizableProps, ThemeableProps, GradientableProps, OutlineableProps, MildableProps, NudibleProps { } declare const Basic: <TElement extends Element = HTMLElement>(props: BasicProps<TElement>) => JSX.Element | null; export { Basic, Basic as default, }; export interface BasicComponentProps<TElement extends Element = HTMLElement> { basicComponent?: React.ReactComponentElement<any, BasicProps<TElement>>; }