
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
react-tabs-scrollable
Advanced tools
a simple react scrollable tabs with a lot of additional features and with fully supporting of RTL mode
a simple react scrollable tabs with a lot of additional features and with fully supporting of RTL mode
npm install --save react-tabs-scrollable
import React from 'react'
import { Tabs, Tab } from 'react-tabs-scrollable'
import 'react-tabs-scrollable/dist/rts.css'
const SimpleTabs = () => {
// define state with initial value to let the tabs start with that value
const [activeTab, setActiveTab] = React.useState(1)
// define a onClick function to bind the value on tab click
const onTabClick = (e, index) => {
console.log(e)
setActiveTab(index)
}
return (
<Tabs activeTab={activeTab} onTabClick={onTabClick}>
{/* generating an array to loop through it */}
{[...Array(20).keys()].map((item) => (
<Tab key={item}>Tab {item}</Tab>
))}
</Tabs>
)
}
export default SimpleTabs
⚠ the docs and the library arent ready yet!!
After a week or something i'm going to finish them but anyway if you want you can use the library it's about 90% ready to use please let me hear your reviews and if any features you want me to add to them
MIT © Mohammed Aliwi
FAQs
a simple react scrollable tabs with a lot of additional features and with fully supporting of RTL mode
We found that react-tabs-scrollable demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.