UNPKG

@spaced-out/ui-design-system

Version:
36 lines 1.25 kB
import * as React from 'react'; import type { Flow } from 'flow-to-typescript-codemod'; import type { IconType } from '../../../components/Icon'; import type { BaseTooltipProps } from '../../../components/Tooltip/Tooltip'; type ClassNames = Readonly<{ wrapper?: string; icon?: string; }>; export declare const STAGE_ARROW_TYPE: Readonly<{ primary: "primary"; danger: "danger"; success: "success"; warning: "warning"; information: "information"; }>; export type StageArrowType = (typeof STAGE_ARROW_TYPE)[keyof typeof STAGE_ARROW_TYPE]; export interface StageArrowProps { id: string; type?: StageArrowType; disabled?: boolean; iconLeftName?: string; iconLeftType?: IconType; iconRightName?: string; iconRightType?: IconType; classNames?: ClassNames; isEndStageArrow?: boolean; isStartStageArrow?: boolean; onStageArrowClick?: ((id: string, e?: React.SyntheticEvent<HTMLElement> | null | undefined) => unknown) | null | undefined; children: React.ReactNode; tooltip?: BaseTooltipProps; testId?: string; locked?: boolean; } export declare const StageArrow: Flow.AbstractComponent<StageArrowProps, HTMLButtonElement>; export {}; //# sourceMappingURL=StageArrow.d.ts.map