mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:49:45 +00:00
Рефакторинг: Projects, News, индексирование, папки
This commit is contained in:
1 parent
e4dd391568
commit
e164d515bb
19 files changed
+140
-62
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
function BlockHeading({ heading, link, linkText }) {
|
||||
return (
|
||||
<div className="heading">
|
||||
<h1>{heading}</h1>
|
||||
{link && linkText &&
|
||||
<Link to={link} target="_blank">{linkText}</Link>
|
||||
}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default BlockHeading;
|
||||
Reference in new issue
Block a user