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