mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-08-12 04:00:16 +00:00
paginationBaseProps -> paginationTableProps
This commit is contained in:
+4
-4
@@ -70,7 +70,7 @@ class FullyCustomPagination extends React.Component {
|
||||
{
|
||||
({
|
||||
paginationProps,
|
||||
paginationBaseProps
|
||||
paginationTableProps
|
||||
}) => (
|
||||
<div>
|
||||
<div>
|
||||
@@ -87,7 +87,7 @@ class FullyCustomPagination extends React.Component {
|
||||
keyField="id"
|
||||
data={ products }
|
||||
columns={ columns }
|
||||
{ ...paginationBaseProps }
|
||||
{ ...paginationTableProps }
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
@@ -136,7 +136,7 @@ export default class FullyCustomPagination extends React.Component {
|
||||
{
|
||||
({
|
||||
paginationProps,
|
||||
paginationBaseProps
|
||||
paginationTableProps
|
||||
}) => (
|
||||
<div>
|
||||
<div>
|
||||
@@ -153,7 +153,7 @@ export default class FullyCustomPagination extends React.Component {
|
||||
keyField="id"
|
||||
data={ products }
|
||||
columns={ columns }
|
||||
{ ...paginationBaseProps }
|
||||
{ ...paginationTableProps }
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
|
||||
+4
-4
@@ -45,7 +45,7 @@ const options = {
|
||||
{
|
||||
({
|
||||
paginationProps,
|
||||
paginationBaseProps
|
||||
paginationTableProps
|
||||
}) => (
|
||||
<div>
|
||||
<PaginationListStandalone
|
||||
@@ -55,7 +55,7 @@ const options = {
|
||||
keyField="id"
|
||||
data={ products }
|
||||
columns={ columns }
|
||||
{ ...paginationBaseProps }
|
||||
{ ...paginationTableProps }
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
@@ -79,7 +79,7 @@ export default class StandalonePaginationList extends React.Component {
|
||||
{
|
||||
({
|
||||
paginationProps,
|
||||
paginationBaseProps
|
||||
paginationTableProps
|
||||
}) => (
|
||||
<div>
|
||||
<PaginationListStandalone
|
||||
@@ -89,7 +89,7 @@ export default class StandalonePaginationList extends React.Component {
|
||||
keyField="id"
|
||||
data={ products }
|
||||
columns={ columns }
|
||||
{ ...paginationBaseProps }
|
||||
{ ...paginationTableProps }
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
|
||||
+4
-4
@@ -45,7 +45,7 @@ const options = {
|
||||
{
|
||||
({
|
||||
paginationProps,
|
||||
paginationBaseProps
|
||||
paginationTableProps
|
||||
}) => (
|
||||
<div>
|
||||
<SizePerPageDropdownStandalone
|
||||
@@ -55,7 +55,7 @@ const options = {
|
||||
keyField="id"
|
||||
data={ products }
|
||||
columns={ columns }
|
||||
{ ...paginationBaseProps }
|
||||
{ ...paginationTableProps }
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
@@ -79,7 +79,7 @@ export default class StandaloneSizePerPage extends React.Component {
|
||||
{
|
||||
({
|
||||
paginationProps,
|
||||
paginationBaseProps
|
||||
paginationTableProps
|
||||
}) => (
|
||||
<div>
|
||||
<SizePerPageDropdownStandalone
|
||||
@@ -89,7 +89,7 @@ export default class StandaloneSizePerPage extends React.Component {
|
||||
keyField="id"
|
||||
data={ products }
|
||||
columns={ columns }
|
||||
{ ...paginationBaseProps }
|
||||
{ ...paginationTableProps }
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -151,7 +151,7 @@ class StateProvider extends React.Component {
|
||||
<StateContext.Provider
|
||||
value={ {
|
||||
paginationProps,
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination,
|
||||
setPaginationRemoteEmitter: this.setPaginationRemoteEmitter
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ describe('PaginationStateContext', () => {
|
||||
expect(renderMockComponent).toHaveBeenCalledTimes(1);
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -338,7 +338,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -369,7 +369,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -396,7 +396,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -423,7 +423,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -450,7 +450,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -477,7 +477,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -504,7 +504,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -531,7 +531,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -558,7 +558,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -585,7 +585,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -612,7 +612,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -639,7 +639,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -666,7 +666,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -693,7 +693,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -720,7 +720,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -747,7 +747,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -774,7 +774,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -801,7 +801,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
@@ -828,7 +828,7 @@ describe('PaginationStateContext', () => {
|
||||
|
||||
expect(renderMockComponent).toHaveBeenCalledWith({
|
||||
paginationProps: instance.getPaginationProps(),
|
||||
paginationBaseProps: {
|
||||
paginationTableProps: {
|
||||
pagination: {
|
||||
createContext: expect.any(Function),
|
||||
options: instance.getPaginationProps()
|
||||
|
||||
Reference in New Issue
Block a user