kopia lustrzana https://github.com/bugout-dev/moonstream
17 wiersze
335 B
JavaScript
17 wiersze
335 B
JavaScript
/* eslint-disable react/react-in-jsx-scope */
|
|
import styles from "./PlainButton.module.css";
|
|
|
|
const PlainButton = (props) => {
|
|
return (
|
|
<div
|
|
onClick={props.onClick}
|
|
className={styles.button}
|
|
style={props.style}
|
|
type={props.type}
|
|
>
|
|
{props.children}
|
|
</div>
|
|
);
|
|
};
|
|
export default PlainButton;
|