UNPKG

@atlaskit/status

Version:
17 lines (16 loc) 618 B
import React from 'react'; import { type WrappedComponentProps } from 'react-intl-next'; import { type Color } from './Status'; export type ColorType = Color; export interface Props { selectedColor: ColorType; text: string; onEnter: () => void; onColorClick: (value: ColorType) => void; onColorHover?: (value: ColorType) => void; onTextChanged: (value: string) => void; autoFocus?: boolean; } export declare const StatusPicker: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & { WrappedComponent: React.ComponentType<Props & WrappedComponentProps>; };