import { createStyles, Theme, withStyles, WithStyles } from "@material-ui/core/styles"; import classNames from "classnames"; import * as React from "react"; interface HrProps { className?: string; } const styles = (theme: Theme) => createStyles({ root: { backgroundColor: theme.overrides.MuiCard.root.borderColor, border: "none", display: "block", height: 1, margin: 0, width: "100%" } }); export const Hr = withStyles(styles, { name: "Hr" })( ({ className, classes }: HrProps & WithStyles) => (
) ); Hr.displayName = "Hr"; export default Hr;