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;