UNPKG

@tolokoban/ui

Version:

React components with theme

16 lines 712 B
import * as React from "react"; import { ChildStyleProps } from "../../theme/styles/child.js"; import { ColorName } from "../../types.js"; import { GenericIconProps } from "../icons/generic/index.js"; declare const SIZES: Record<string, number>; export interface FloatingButtonProps extends ChildStyleProps, Partial<Omit<GenericIconProps, "value" | "color" | "backColor">> { className?: string; icon: React.FC<GenericIconProps>; color?: ColorName; colorHover?: ColorName; size?: keyof typeof SIZES; enabled?: boolean; } export declare function ViewFloatingButton(props: FloatingButtonProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=FloatingButton.d.ts.map