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.
17 lines
519 B
17 lines
519 B
import React from "react"; |
|
import { connect } from "react-redux"; |
|
|
|
export const Header = ({ title, color }) => { |
|
return ( |
|
<div className="flex w-full items-center gap-5 mt-12 mb-4"> |
|
<storng className="py-5 pr-5 pl-10 bg-gray2C text-white font-semibold text-lg">{title}</storng> |
|
<span className="flex-1 h-px shadow-md bg-gray-300"></span> |
|
</div> |
|
); |
|
}; |
|
|
|
const mapStateToProps = (state) => ({}); |
|
|
|
const mapDispatchToProps = {}; |
|
|
|
export default connect(mapStateToProps, mapDispatchToProps)(Header);
|
|
|