date component code example
Example: material.preactjs type = date use
import {h, Component} from 'preact';
import TextField from 'preact-material-components/TextField';
import 'preact-material-components/TextField/style.css';
export default class TextFieldPage extends Component {
render(){
return (
<div>
<TextField label="Textarea tag type="date""/>
</div>
);
}
}