import React from "react"; import {Button} from "../../elements/GPElements/Button"; import style from './AuthenticationPage.module.css' interface state { pwdText: string } interface props { submit: (password: string) => void } class AuthenticationPage extends React.Component { constructor(props: props) { super(props); this.state = { pwdText: '' } } render(): JSX.Element { return ( <>
OpenMediaCenter
Login
this.setState({pwdText: ch.target.value})} value={this.state.pwdText}/>
); } } export default AuthenticationPage;