Skip to content

Commit

Permalink
Adding globalprops to Pagination kit props
Browse files Browse the repository at this point in the history
  • Loading branch information
carloslimasd committed Nov 27, 2024
1 parent 439f9b8 commit a0dc4bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
Row,
useReactTable,
Getter,
PaginationState,
} from "@tanstack/react-table"

import { buildAriaProps, buildCss, buildDataProps, buildHtmlProps } from "../utilities/props"
Expand Down
4 changes: 2 additions & 2 deletions playbook/app/pb_kits/playbook/pb_pagination/_pagination.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from "react";
import classnames from 'classnames'
import { globalProps } from '../utilities/globalProps'
import { GlobalProps, globalProps } from '../utilities/globalProps'
import { buildAriaProps, buildCss, buildDataProps, buildHtmlProps } from '../utilities/props'
import Icon from '../pb_icon/_icon';

Expand All @@ -14,7 +14,7 @@ type PaginationProps = {
onChange?: (pageNumber: number) => void;
range?: number;
total?: number;
};
} & GlobalProps;

const Pagination = ( props: PaginationProps) => {
const {
Expand Down

0 comments on commit a0dc4bb

Please sign in to comment.