generated from lucien/actix-react-template
16 lines
No EOL
368 B
TypeScript
16 lines
No EOL
368 B
TypeScript
//import { useState } from "react";
|
|
|
|
interface MonInputProps {
|
|
text: string;
|
|
new_focus: () => void;
|
|
police: string;
|
|
}
|
|
|
|
export default function MonInput({text, new_focus, police}: MonInputProps) {
|
|
|
|
return (
|
|
<div>
|
|
<input readOnly value={text} onFocus={new_focus} style={{fontFamily: police,width:1000}}></input>
|
|
</div>
|
|
)
|
|
} |