Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/3.0.x/utility-props.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
id: utility-props
title: Utility Props
metaTitle: Utility Props | NativeBase
metaDescription: Explore the properties of style props in NativeBase like margin and padding. Discover how they are used to style components by passing props to them.
---

Style props are a way to alter the style of a component by simply passing props to it. It helps to save time by providing helpful shorthand ways to style components.
Expand Down
2 changes: 2 additions & 0 deletions docs/3.1.x/utility-props.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
id: utility-props
title: Utility Props
metaTitle: Utility Props | NativeBase
metaDescription: Explore the properties of style props in NativeBase like margin and padding. Discover how they are used to style components by passing props to them.
---

Style props are a way to alter the style of a component by simply passing props to it. It helps to save time by providing helpful shorthand ways to style components.
Expand Down
2 changes: 2 additions & 0 deletions docs/3.2.x/utility-props.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
id: utility-props
title: Utility Props
metaTitle: Utility Props | NativeBase
metaDescription: Explore the properties of style props in NativeBase like margin and padding. Discover how they are used to style components by passing props to them.
---

Style props are a way to alter the style of a component by simply passing props to it. It helps to save time by providing helpful shorthand ways to style components.
Expand Down
2 changes: 2 additions & 0 deletions docs/3.3.x/utility-props.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
id: utility-props
title: Utility Props
metaTitle: Utility Props | NativeBase
metaDescription: Explore the properties of style props in NativeBase like margin and padding. Discover how they are used to style components by passing props to them.
---

Style props are a way to alter the style of a component by simply passing props to it. It helps to save time by providing helpful shorthand ways to style components.
Expand Down
2 changes: 2 additions & 0 deletions docs/3.4.x/utility-props.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
id: utility-props
title: Utility Props
metaTitle: Utility Props | NativeBase
metaDescription: Explore the properties of style props in NativeBase like margin and padding. Discover how they are used to style components by passing props to them.
---

Style props are a way to alter the style of a component by simply passing props to it. It helps to save time by providing helpful shorthand ways to style components.
Expand Down
2 changes: 2 additions & 0 deletions docs/next/utility-props.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
id: utility-props
title: Utility Props
metaTitle: Utility Props | NativeBase
metaDescription: Explore the properties of style props in NativeBase like margin and padding. Discover how they are used to style components by passing props to them.
---

Style props are a way to alter the style of a component by simply passing props to it. It helps to save time by providing helpful shorthand ways to style components.
Expand Down
4 changes: 1 addition & 3 deletions layouts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,8 @@ function Layout({
? frontMatter.title + " | NativeBase "
: pages?.currentPage?.title + " | NativeBase "
}`;

let href = "https://docs.nativebase.io/" + pages.currentPage.id;
const { metaTitle, metaDescription } = frontMatter;
console.log(metaTitle, metaDescription);
let href = "https://docs.nativebase.io/" + pages.currentPage.id;
return (
<>
<Head>
Expand Down