UNPKG

@cmk/fe_utils

Version:
22 lines (20 loc) 1.42 kB
import { ButtonDropdown } from './defs'; import { CSSProperties, ReactNode } from 'react'; import { CButtonProps } from './Button'; type ButtonStartIconProps = { color: string | undefined; icon?: ReactNode; iconSize?: CSSProperties['fontSize']; iconColor?: string; disabled?: boolean; variant?: CButtonProps['variant']; startIconProps?: NonNullable<CButtonProps['slotProps']>['startIcon']; }; export declare const ButtonStartIcon: (props: ButtonStartIconProps) => number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined; export declare const ButtonEndIcon: (props: Pick<ButtonStartIconProps, "disabled" | "iconColor" | "variant"> & { endIcon: ReactNode; dropdown?: ButtonDropdown; endIconProps?: NonNullable<CButtonProps["slotProps"]>["endIcon"]; color: string | undefined; }) => number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined; export {};