mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added text input
This commit is contained in:
parent
5aca2508ea
commit
578b37716b
7 changed files with 527 additions and 0 deletions
|
@ -1,4 +1,22 @@
|
|||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue