Skip to content

Commit

Permalink
updating the clear button styling
Browse files Browse the repository at this point in the history
  • Loading branch information
SutarPrasad committed Jul 31, 2023
1 parent a5c77ed commit cfc3072
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/components/NiceButton/NiceButton.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PropTypes from "prop-types";
import React from "react";

import { Button } from "@mui/material";
import styles from "./NiceButton.module.css";

class NiceButton extends React.Component {
Expand All @@ -10,15 +10,13 @@ class NiceButton extends React.Component {
const onClickParam = this.props.onClickParam;

return (
<button
type="button"
<Button
variant="contained"
data-onclickparam={onClickParam}
className={style}
style={extraStyling}
onClick={this.props.onClick}
>
{this.props.children}
</button>
</Button>
);
}
}
Expand Down

0 comments on commit cfc3072

Please sign in to comment.