You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
451 B

  1. import React from "react";
  2. // mterial-ui components
  3. import { makeStyles } from "@material-ui/core/styles";
  4. const styles = {
  5. clearfix: {
  6. "&:after,&:before": {
  7. display: "table",
  8. content: '" "'
  9. },
  10. "&:after": {
  11. clear: "both"
  12. }
  13. }
  14. };
  15. const useStyles = makeStyles(styles);
  16. export default function Clearfix() {
  17. const classes = useStyles();
  18. return <div className={classes.clearfix} />;
  19. }
  20. Clearfix.propTypes = {};