Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add className prop
dominik-zeglen8b71deafd49f
diff --git a/saleor/static/dashboard-next/components/Hr.tsx b/saleor/static/dashboard-next/components/Hr.tsxindex 64ed3d3f4a..4584340057 100644--- a/saleor/static/dashboard-next/components/Hr.tsx+++ b/saleor/static/dashboard-next/components/Hr.tsx@@ -4,8 +4,13 @@ import {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: {@@ -19,7 +24,9 @@ const styles = (theme: Theme) =>});export const Hr = withStyles(styles, { name: "Hr" })(- ({ classes }: WithStyles<typeof styles>) => <hr className={classes.root} />+ ({ className, classes }: HrProps & WithStyles<typeof styles>) => (+ <hr className={classNames(classes.root, className)} />+ ));Hr.displayName = "Hr";export default Hr;