Skip to content

Commit

Permalink
Fix#6443
Browse files Browse the repository at this point in the history
  • Loading branch information
Rekl0w committed Apr 22, 2024
1 parent cdc7c3e commit b049ec6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/doc/tabview/scrollabledoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import React, { useState } from 'react';
import { TabView, TabPanel } from 'primereact/tabview';
export default function ScrollableDemo() {
const scrollableTabs = Array.from({ length: 50 }, (_, i) => ({ title: \`Tab \${i + 1}\`, content: \`Tab \${i + 1} Content\` }))
const tabs = Array.from({ length: 50 }, (_, i) => ({ title: \`Tab \${i + 1}\`, content: \`Tab \${i + 1} Content\` }))
return (
<div className="card">
Expand All @@ -43,8 +43,8 @@ import React, { useState } from 'react';
import { TabView, TabPanel } from 'primereact/tabview';
export default function ScrollableDemo() {
const scrollableTabs = Array.from({ length: 50 }, (_, i) => ({ title: \`Tab \${i + 1}\`, content: \`Tab \${i + 1} Content\` }))
const tabs = Array.from({ length: 50 }, (_, i) => ({ title: \`Tab \${i + 1}\`, content: \`Tab \${i + 1} Content\` }))
return (
<div className="card">
<TabView scrollable>
Expand Down

0 comments on commit b049ec6

Please sign in to comment.