mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
22 lines
566 B
TypeScript
22 lines
566 B
TypeScript
import { DetailedHTMLProps, InputHTMLAttributes } from "react";
|
|
|
|
export type ITag = {
|
|
title: string;
|
|
feature?: 'red' | 'blue' | 'green' | 'olive' | 'black';
|
|
}
|
|
|
|
export type IInputTextProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
wrapperClassName?: string;
|
|
handler?: (value: string) => void;
|
|
required?: boolean;
|
|
title?: string;
|
|
error?: string;
|
|
can_negative?: boolean;
|
|
status?: string;
|
|
maskChar?: string;
|
|
mask?: string;
|
|
onRef?: (ref: any) => void;
|
|
is_loading?: boolean;
|
|
};
|
|
|
|
export type IIcon = string;
|