2023-05-04 08:57:18 +00:00
|
|
|
import { Box } from "@saleor/macaw-ui/next";
|
2019-08-09 10:26:22 +00:00
|
|
|
import React from "react";
|
2019-06-19 14:40:52 +00:00
|
|
|
|
2023-05-04 08:57:18 +00:00
|
|
|
/**
|
|
|
|
* @deprecated use `Divider` component from `@saleor/macaw-ui/next`
|
|
|
|
*/
|
|
|
|
export const Hr: React.FC<{
|
2019-06-19 14:40:52 +00:00
|
|
|
className?: string;
|
2023-05-04 08:57:18 +00:00
|
|
|
}> = ({ className }) => (
|
|
|
|
<Box
|
|
|
|
as="hr"
|
|
|
|
className={className}
|
|
|
|
backgroundColor="surfaceNeutralDepressed"
|
|
|
|
borderWidth={0}
|
|
|
|
width="100%"
|
2023-05-30 06:47:21 +00:00
|
|
|
height="px"
|
2023-05-04 08:57:18 +00:00
|
|
|
/>
|
2019-12-03 15:28:40 +00:00
|
|
|
);
|
2019-06-19 14:40:52 +00:00
|
|
|
|
|
|
|
Hr.displayName = "Hr";
|
|
|
|
export default Hr;
|