mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Refactoring components
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
export interface Props {
|
||||
placeholder?: string;
|
||||
type: 'text' | 'email';
|
||||
variant: 'small' | 'big';
|
||||
name: string;
|
||||
value: string;
|
||||
required?: boolean;
|
||||
onChange?: (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
||||
className?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user