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.
 
 
 

15 lines
289 B

import React from "react";
const Divider = ({ type }) => {
return (
<span
className="bg-gray-100 my-3"
style={{
height: type === "horizontal" ? "100%" : 1,
width: type === "horizontal" ? 1 : "100%",
}}
></span>
);
};
export default Divider;