UNPKG

@atlaskit/status

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