jb-mobile-input
Version:
mobile input web component
35 lines (34 loc) • 1.68 kB
TypeScript
import React$1, { DetailedHTMLProps, HTMLAttributes } from "react";
import { JBMobileInputWebComponent } from "jb-mobile-input";
import { BaseProps } from "jb-input/react";
//#region modules/jb-core/react/dist/index.d.ts
//#endregion
//#region modules/jb-core/react/lib/types/index.d.ts
type ReactElementStandardProps<TElement = HTMLElement> = DetailedHTMLProps<React.HTMLAttributes<TElement>, TElement>;
type JBElementStandardProps<TElement = HTMLElement, TOmit extends string = never> = Omit<ReactElementStandardProps<TElement>, 'ref' | 'key' | TOmit>; //#endregion
//#endregion
//#region modules/jb-mobile-input/react/lib/module-declaration.d.ts
interface JBMobileInputType extends DetailedHTMLProps<HTMLAttributes<JBMobileInputWebComponent>, JBMobileInputWebComponent> {
class?: string;
value?: string;
initialValue?: string;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
'jb-mobile-input': JBMobileInputType;
}
}
}
//#endregion
//#region modules/jb-mobile-input/react/lib/JBMobileInput.d.ts
declare const JBMobileInput: React$1.ForwardRefExoticComponent<JBElementStandardProps<JBMobileInputWebComponent, keyof import("jb-input/react").JBInputAttributes & import("jb-input/react").DirectProps> & {
children?: React$1.ReactNode | undefined;
} & import("jb-input/react").JBInputEvents<JBMobileInputWebComponent> & import("jb-input/react").JBInputAttributes & import("jb-input/react").DirectProps & {
initialValue?: string | number | null;
} & React$1.RefAttributes<unknown>>;
type Props = BaseProps<JBMobileInputWebComponent> & {
initialValue?: string | number | null;
};
//#endregion
export { JBMobileInput, Props };