@innovatrics/dot-auto-capture-ui
Version:
Digital onboarding UI
21 lines (20 loc) • 956 B
TypeScript
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>;