Skip to content

Commit

Permalink
fix(unstable-pagination): update class names
Browse files Browse the repository at this point in the history
  • Loading branch information
jendowns committed Feb 28, 2020
1 parent ac79733 commit 7c650ea
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function PageInput({
totalPages,
...other
}) {
const namespace = `${prefix}--pagination__page-input`;
const namespace = `${prefix}--unstable-pagination__page-input`;
const instanceId = `${namespace}__input-${getInstanceId()}`;

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function PageSelector({
totalPages,
...other
}) {
const namespace = `${prefix}--pagination__page-selector`;
const namespace = `${prefix}--unstable-pagination__page-selector`;
const instanceId = `${namespace}__select-${getInstanceId()}`;

const renderPages = total => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Unstable_Pagination({
setCurrentPage(Number(newPage));
}

const namespace = `${prefix}--pagination`;
const namespace = `${prefix}--unstable-pagination`;

return (
<section className={classnames(namespace, className)} {...other}>
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,4 @@ export DatePickerSkeleton from './components/DatePicker/DatePicker.Skeleton';
export * from './components/UIShell';

// experimental
export { PageInput, PageSelect, Unstable_Pagination } from './components/Pagination/Unstable_Pagination';
export { PageInput, PageSelector, Unstable_Pagination } from './components/Pagination/Unstable_Pagination';

0 comments on commit 7c650ea

Please sign in to comment.