diff --git a/docs/components_page/components/tabs.md b/docs/components_page/components/tabs.md index f0c284657..827c9eee1 100644 --- a/docs/components_page/components/tabs.md +++ b/docs/components_page/components/tabs.md @@ -17,7 +17,7 @@ You can also use the `active_tab` prop of `Tabs` in a callback to switch between ## Tabs in cards -Use `card=True` when placing your `Tabs` inside a `CardHeader`. You must use a callback to insert the tab content into the card body rather than relying on the tabs as children approach outlined above. +You can also place your `Tabs` inside a `CardHeader`. You must use a callback to insert the tab content into the card body rather than relying on the tabs as children approach outlined above. {{example:components/tabs/card.py:card}} diff --git a/src/components/tabs/Tabs.js b/src/components/tabs/Tabs.js index 7b44aca5e..f3c9b5b07 100644 --- a/src/components/tabs/Tabs.js +++ b/src/components/tabs/Tabs.js @@ -42,7 +42,6 @@ const Tabs = props => { let { children, id, - card, className, class_name, style,