mirror of
https://github.com/pure-css/pure.git
synced 2024-12-10 23:44:26 +00:00
13 lines
228 B
JavaScript
13 lines
228 B
JavaScript
|
import React from 'react';
|
||
|
|
||
|
function Header({ description, title }) {
|
||
|
return (
|
||
|
<div className="header">
|
||
|
<h1>{title}</h1>
|
||
|
<h2>{description}</h2>
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
export default Header;
|