Add slug to HeadLayout
This commit is contained in:
@@ -6,7 +6,8 @@ import Navigasyon from './navigasyon'
|
||||
export default function HeadLayout({
|
||||
children,
|
||||
title,
|
||||
tab
|
||||
tab,
|
||||
slug
|
||||
}) {
|
||||
return (
|
||||
<div>
|
||||
@@ -51,9 +52,11 @@ export default function HeadLayout({
|
||||
HeadLayout.propTypes = {
|
||||
children: PropTypes.node.isRequired,
|
||||
title: PropTypes.string,
|
||||
tab: PropTypes.number.isRequired
|
||||
tab: PropTypes.number.isRequired,
|
||||
slug: PropTypes.string
|
||||
}
|
||||
|
||||
HeadLayout.defaultProps = {
|
||||
title: null
|
||||
title: null,
|
||||
slug: null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user