1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00
This commit is contained in:
muerwre 2019-08-02 17:17:09 +07:00
parent 132fe872b6
commit e5bc0d258f
17 changed files with 301 additions and 65 deletions

View file

@ -2,10 +2,13 @@ import { DetailedHTMLProps, InputHTMLAttributes } from "react";
export type ITag = {
title: string;
feature?: 'red' | 'blue' | 'green' | 'olive' | 'black';
}
feature?: "red" | "blue" | "green" | "olive" | "black";
};
export type IInputTextProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
export type IInputTextProps = DetailedHTMLProps<
InputHTMLAttributes<HTMLInputElement>,
HTMLInputElement
> & {
wrapperClassName?: string;
handler?: (value: string) => void;
required?: boolean;
@ -20,3 +23,5 @@ export type IInputTextProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputEle
};
export type IIcon = string;
export type ValueOf<T> = T[keyof T];