Skip to content

Commit

Permalink
update pager custom theme story
Browse files Browse the repository at this point in the history
  • Loading branch information
steppy452 committed Jul 23, 2024
1 parent 6bf3883 commit ff33723
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/data/Pager/Pager.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ export const ShowAll = () => {
export const CustomTheme = () => {
const [page, setPage] = useState<number>(0);
const customTheme = pagerTheme;
customTheme.showPageRange = 'text-blue-400 font-bold';
customTheme.itemsDisplay = 'text-slate-500';
customTheme.showPageRange =
"text-blue-400 font-bold before:content-['Showing_'] before:text-slate-500 before:font-normal";
customTheme.totalCount = 'text-blue-400 font-bold';

return (
<Pager
Expand Down

0 comments on commit ff33723

Please sign in to comment.