feat : add page profile (private component) and add section , modal for profile page
This commit is contained in:
16
src/types/props.d.ts
vendored
16
src/types/props.d.ts
vendored
@@ -50,7 +50,7 @@ export interface NavData {
|
||||
}
|
||||
|
||||
// begin ListTutorial.tsx
|
||||
import { Component, InputHTMLAttributes, SetStateAction } from "react";
|
||||
import React, { Component, InputHTMLAttributes, SetStateAction } from "react";
|
||||
|
||||
export type TutorialList = { id: number; name: string }[];
|
||||
|
||||
@@ -92,10 +92,22 @@ export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
||||
type: string;
|
||||
name?: string;
|
||||
placeholder?: string;
|
||||
labelStyle?: string;
|
||||
extra?: string;
|
||||
}
|
||||
|
||||
export interface MuiModalProps {
|
||||
isOpenModal: boolean;
|
||||
setIsOpenModal:SetStateAction
|
||||
setIsOpenModal: SetStateAction;
|
||||
title: string;
|
||||
nameService?: string;
|
||||
submitText: string;
|
||||
submitOnClick?: () => void;
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export interface ConfigItemProps {
|
||||
dateBuy: string;
|
||||
configName: string;
|
||||
isDisabled: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user