UNPKG

@innovatrics/dot-auto-capture-ui

Version:
21 lines (20 loc) 956 B
import type { BaseComponentsUiProps, CustomizationContextProps, HTMLElementWithProps, UiProps } from './common'; import type { CustomElement, DeepRequired, ObjectValues, PalmInstructionCode } from '../../../ui-common/src/types'; export * from './common'; declare global { namespace JSX { interface IntrinsicElements { 'x-dot-palm-capture-ui': CustomElement<{ props: PalmUiProps; }>; } } } export declare const PalmPlaceholderIconValues: { readonly WITHOUT_FINGERS: "withoutFingers"; }; export type PalmPlaceholderIcon = ObjectValues<typeof PalmPlaceholderIconValues>; export type PalmInstructions = Record<PalmInstructionCode, string>; export type PalmUiProps = UiProps<Partial<PalmInstructions>> & BaseComponentsUiProps<PalmPlaceholderIcon>; export type PalmProps = CustomizationContextProps<DeepRequired<PalmUiProps>>; export type HTMLPalmUiElement = HTMLElementWithProps<PalmUiProps>;