# Component/PanelTabs/PanelTabs > Props: component-paneltabs-paneltabs.props.txt ## Examples ### Base ```tsx { render: args => { const [activeTab, setActiveTab] = useState('paneltab1-1'); const handleChange = (activeTab?: string) => { setActiveTab(activeTab ?? ''); }; return {tabs[0].items.map(props => )} ; } } ``` ### Divider ```tsx { render: args => { const [activeTab, setActiveTab] = useState('paneltab2-0-1'); const handleChange = (activeTab?: string) => { setActiveTab(activeTab ?? ''); }; const tabs = [{ title: '상품/배송준비 현황', important: false }, { title: '꼭 확인해주세요', important: true }]; return <> Base
{Array.from({ length: 50 }, (_, i) => { const number = i + 1; return ; })}
with PanelTabGroup
{tabs.map(({ title, important }, j) => {Array.from({ length: 3 }, (_, i) => { const number = i + 1; return ; })} )}
; }, args: { divider: true } } ``` ### Scroll ```tsx { render: args => { const [activeTab, setActiveTab] = useState('paneltab2-0-1'); const handleChange = (activeTab?: string) => { setActiveTab(activeTab ?? ''); }; const tabs = [{ title: '상품/배송준비 현황', important: false }, { title: '꼭 확인해주세요', important: true }]; return <> Base
{Array.from({ length: 50 }, (_, i) => { const number = i + 1; return ; })}
with PanelTabGroup
{tabs.map(({ title, important }, j) => {Array.from({ length: 3 }, (_, i) => { const number = i + 1; return ; })} )}
; } } ``` ### With Tab Group ```tsx { args: { divider: true }, render: args => { const [activeTab, setActiveTab] = useState('paneltab1-1'); const handleChange = (activeTab?: string) => { setActiveTab(activeTab ?? ''); }; return {tabs.map(({ title, important, items }) => {items.map(props => )} )} ; } } ```