diff --git a/docs/api/tab-bar.md b/docs/api/tab-bar.md index cb69107d111..939451673cb 100644 --- a/docs/api/tab-bar.md +++ b/docs/api/tab-bar.md @@ -28,7 +28,7 @@ The tab bar is a UI component that contains a set of [tab buttons](tab-button.md ## Usage - + @@ -110,46 +110,6 @@ export const TabBarExample: React.FC = () => ( - - -```tsx -import { Component, h } from '@stencil/core'; - -@Component({ - tag: 'tab-bar-example', - styleUrl: 'tab-bar-example.css' -}) -export class TabBarExample { - render() { - return [ - - {/* Tab views */} - - - - - {/* Tab bar */} - - - - - - - - - - - - - ]; - } -} -``` - - - - - ```html diff --git a/docs/api/tab-button.md b/docs/api/tab-button.md index d22b0db8699..959d50f88c4 100644 --- a/docs/api/tab-button.md +++ b/docs/api/tab-button.md @@ -27,7 +27,7 @@ See the [tabs documentation](tabs.md) for more details on configuring tabs. ## Usage - + @@ -153,68 +153,6 @@ export const TabButtonExample: React.FC = () => ( - - -```tsx -import { Component, h } from '@stencil/core'; - -@Component({ - tag: 'tab-button-example', - styleUrl: 'tab-button-example.css' -}) -export class TabButtonExample { - render() { - return [ - - {/* Tab views */} - - - - - - - - - - - - - - - - - {/* Tab bar */} - - - - Schedule - - - - - Speakers - - - - - Map - - - - - About - - - - ]; - } -} -``` - - - - - ```html diff --git a/docs/api/tab.md b/docs/api/tab.md index 3dd6576e4a8..f361abaac68 100644 --- a/docs/api/tab.md +++ b/docs/api/tab.md @@ -22,7 +22,7 @@ import EncapsulationPill from '@components/page/api/EncapsulationPill'; The tab component is a child component of [tabs](tabs.md). Each tab can contain a top level navigation stack for an app or a single view. An app can have many tabs, all with their own independent navigation. :::note - Note: This component should only be used with vanilla or Stencil JavaScript projects. For Angular, React, and Vue apps you do not need to use `ion-tab` to declare your tab components. + Note: This component should only be used with vanilla JavaScript projects. For Angular, React, and Vue apps you do not need to use `ion-tab` to declare your tab components. ::: diff --git a/versioned_docs/version-v5/api/tab-bar.md b/versioned_docs/version-v5/api/tab-bar.md index b1e79d6d4f2..002dad4e8bf 100644 --- a/versioned_docs/version-v5/api/tab-bar.md +++ b/versioned_docs/version-v5/api/tab-bar.md @@ -18,7 +18,7 @@ The tab bar is a UI component that contains a set of [tab buttons](tab-button.md ## Usage - + @@ -96,44 +96,6 @@ export const TabBarExample: React.FC = () => ( - - -```tsx -import { Component, h } from '@stencil/core'; - -@Component({ - tag: 'tab-bar-example', - styleUrl: 'tab-bar-example.css', -}) -export class TabBarExample { - render() { - return [ - - {/* Tab views */} - - - - - {/* Tab bar */} - - - - - - - - - - - - , - ]; - } -} -``` - - - ```html diff --git a/versioned_docs/version-v5/api/tab-button.md b/versioned_docs/version-v5/api/tab-button.md index 5244dbffbe7..83100e90adb 100644 --- a/versioned_docs/version-v5/api/tab-button.md +++ b/versioned_docs/version-v5/api/tab-button.md @@ -20,7 +20,7 @@ See the [tabs documentation](tabs.md) for more details on configuring tabs. ## Usage - + @@ -140,66 +140,6 @@ export const TabButtonExample: React.FC = () => ( - - -```tsx -import { Component, h } from '@stencil/core'; - -@Component({ - tag: 'tab-button-example', - styleUrl: 'tab-button-example.css', -}) -export class TabButtonExample { - render() { - return [ - - {/* Tab views */} - - - - - - - - - - - - - - - - - {/* Tab bar */} - - - - Schedule - - - - - Speakers - - - - - Map - - - - - About - - - , - ]; - } -} -``` - - - ```html diff --git a/versioned_docs/version-v5/api/tab.md b/versioned_docs/version-v5/api/tab.md index 1f34ac2b184..9f54b12145a 100644 --- a/versioned_docs/version-v5/api/tab.md +++ b/versioned_docs/version-v5/api/tab.md @@ -16,7 +16,7 @@ import Slots from '@ionic-internal/component-api/v5/tab/slots.md'; The tab component is a child component of [tabs](tabs.md). Each tab can contain a top level navigation stack for an app or a single view. An app can have many tabs, all with their own independent navigation. -> Note: This component should only be used with vanilla or Stencil JavaScript projects. For Angular, React, and Vue apps you do not need to use `ion-tab` to declare your tab components. +> Note: This component should only be used with vanilla JavaScript projects. For Angular, React, and Vue apps you do not need to use `ion-tab` to declare your tab components. See the [tabs documentation](tabs.md) for more details on configuring tabs. diff --git a/versioned_docs/version-v6/api/tab-bar.md b/versioned_docs/version-v6/api/tab-bar.md index cbf15815ba7..b8ab1b26f8f 100644 --- a/versioned_docs/version-v6/api/tab-bar.md +++ b/versioned_docs/version-v6/api/tab-bar.md @@ -28,7 +28,7 @@ The tab bar is a UI component that contains a set of [tab buttons](tab-button.md ## Usage - + @@ -106,44 +106,6 @@ export const TabBarExample: React.FC = () => ( - - -```tsx -import { Component, h } from '@stencil/core'; - -@Component({ - tag: 'tab-bar-example', - styleUrl: 'tab-bar-example.css', -}) -export class TabBarExample { - render() { - return [ - - {/* Tab views */} - - - - - {/* Tab bar */} - - - - - - - - - - - - , - ]; - } -} -``` - - - ```html diff --git a/versioned_docs/version-v6/api/tab-button.md b/versioned_docs/version-v6/api/tab-button.md index a989563be88..4fdac8afaa6 100644 --- a/versioned_docs/version-v6/api/tab-button.md +++ b/versioned_docs/version-v6/api/tab-button.md @@ -22,7 +22,7 @@ See the [tabs documentation](tabs.md) for more details on configuring tabs. ## Usage - + @@ -142,66 +142,6 @@ export const TabButtonExample: React.FC = () => ( - - -```tsx -import { Component, h } from '@stencil/core'; - -@Component({ - tag: 'tab-button-example', - styleUrl: 'tab-button-example.css', -}) -export class TabButtonExample { - render() { - return [ - - {/* Tab views */} - - - - - - - - - - - - - - - - - {/* Tab bar */} - - - - Schedule - - - - - Speakers - - - - - Map - - - - - About - - - , - ]; - } -} -``` - - - ```html diff --git a/versioned_docs/version-v6/api/tab.md b/versioned_docs/version-v6/api/tab.md index deafa889116..5b6cd8cd79e 100644 --- a/versioned_docs/version-v6/api/tab.md +++ b/versioned_docs/version-v6/api/tab.md @@ -24,7 +24,7 @@ import EncapsulationPill from '@components/page/api/EncapsulationPill'; The tab component is a child component of [tabs](tabs.md). Each tab can contain a top level navigation stack for an app or a single view. An app can have many tabs, all with their own independent navigation. :::note -Note: This component should only be used with vanilla or Stencil JavaScript projects. For Angular, React, and Vue apps you do not need to use `ion-tab` to declare your tab components. +Note: This component should only be used with vanilla JavaScript projects. For Angular, React, and Vue apps you do not need to use `ion-tab` to declare your tab components. ::: See the [tabs documentation](tabs.md) for more details on configuring tabs.