Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@snack-uikit/pagination
Advanced tools
npm i @snack-uikit/pagination
import { Pagination, PaginationSlider } from "@snack-uikit/pagination";
function App() {
const [page, setPage] = useState(args.page);
return (
<>
<Pagination page={page} onChange={setPage} total={10}/>
<PaginationSlider page={page} onChange={setPage} total={10}/>
</>
);
}
name | type | default value | description |
---|---|---|---|
onChange* | (page: number) => void | - | Колбек смены значения |
page* | number | - | Текущая страница |
total* | number | - | Общее количество страниц |
maxLength | number | 7 | Максимальное количество страниц/элементов, помещающихся до транкейта |
className | string | - | CSS класснейм |
size | enum Size: "xs" , "s" | s | Размер |
name | type | default value | description |
---|---|---|---|
onChange* | (page: number) => void | - | Колбек смены значения |
page* | number | - | Текущая страница |
total* | number | - | Общее количество страниц |
className | string | - | CSS класснейм |
FAQs
Навигация по страницам (с цифрами или точками)
The npm package @snack-uikit/pagination receives a total of 47 weekly downloads. As such, @snack-uikit/pagination popularity was classified as not popular.
We found that @snack-uikit/pagination 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.