forked from Transparency/kgroad-frontend2
first commit, made homepage
This commit is contained in:
1 parent
9fca4a7518
commit
3a04c6c1db
73 files changed
+1578
-462
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import "./SectionHeader.scss";
|
||||
|
||||
interface ISectionHeader {
|
||||
children: React.ReactNode;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
const SectionHeader: React.FC<ISectionHeader> = ({
|
||||
children,
|
||||
description,
|
||||
}: ISectionHeader) => {
|
||||
return (
|
||||
<div className="section-header">
|
||||
<h3>{children}</h3>
|
||||
<p>{description}</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default SectionHeader;
|
||||
Reference in new issue
Block a user