import button material ui
import Button from '@material-ui/core/Button';
// or
import { Button } from '@material-ui/core';
import button material ui
import Button from '@material-ui/core/Button';
// or
import { Button } from '@material-ui/core';
material-ui button
// Check out my online sandbox to see more button props
// https://codesandbox.io/s/material-ui-button-e809z?file=/src/App.js
import React from 'react';
import Button from '@material-ui/core/Button';
export default function MaterialuiButton() {
function handleButtonPress() {
console.log("button pressed");
}
return (
<Button
variant='contained'
color='primary'
onClick={() => {
handleButtonPress();
}}
>
PRESS ME
</Button>
);
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us