diff --git a/src/components/inspector/panels/Panels.tsx b/src/components/inspector/panels/Panels.tsx index 365e821d65..c95a38decc 100644 --- a/src/components/inspector/panels/Panels.tsx +++ b/src/components/inspector/panels/Panels.tsx @@ -50,6 +50,7 @@ import BreadcrumbPanel from '~components/inspector/panels/components/BreadcrumbP import BreadcrumbItemPanel from '~components/inspector/panels/components/BreadcrumbItemPanel' import HighlightPanel from '~components/inspector/panels/components/HighlightPanel' import KbdPanel from './components/KbdPanel' +import TabPanel from './components/TabPanel' const Panels: React.FC<{ component: IComponent; isRoot: boolean }> = ({ component, @@ -95,6 +96,7 @@ const Panels: React.FC<{ component: IComponent; isRoot: boolean }> = ({ {type === 'Stack' && } {type === 'FormControl' && } {type === 'Tabs' && } + {type === 'Tab' && } {type === 'Input' && } {type === 'Radio' && } {type === 'RadioGroup' && } diff --git a/src/components/inspector/panels/components/TabPanel.tsx b/src/components/inspector/panels/components/TabPanel.tsx new file mode 100644 index 0000000000..866a3d16ff --- /dev/null +++ b/src/components/inspector/panels/components/TabPanel.tsx @@ -0,0 +1,15 @@ +import React from 'react' +import SwitchControl from '~components/inspector/controls/SwitchControl' +import TextControl from '~components/inspector/controls/TextControl' + +const TabPanel = () => { + return ( + <> + + + + + ) +} + +export default TabPanel diff --git a/src/components/inspector/panels/components/TabsPanel.tsx b/src/components/inspector/panels/components/TabsPanel.tsx index 5b89d76de7..29b16ef619 100644 --- a/src/components/inspector/panels/components/TabsPanel.tsx +++ b/src/components/inspector/panels/components/TabsPanel.tsx @@ -12,11 +12,13 @@ const TabsPanel = () => { const variant = usePropsSelector('variant') const orientation = usePropsSelector('orientation') const size = usePropsSelector('size') + const align = usePropsSelector('align') return ( <> + + + + +