Implement a reusable Tabs component in React.
Requirements:
- Accepts an
itemsprop, which is an array of objects:{ value: string, label: string, content: string | React.ReactNode }. - Accepts an optional
defaultValueprop. If not provided, the default active tab is the first item. - Users can click tab buttons to switch the active visible content pane.
- Tab buttons should render dynamically using the
labelstring.