diff --git a/packages/react-core/src/demos/DataList/examples/DataListPagination.tsx b/packages/react-core/src/demos/DataList/examples/DataListPagination.tsx index 3d71818eecc..0f32ae124f9 100644 --- a/packages/react-core/src/demos/DataList/examples/DataListPagination.tsx +++ b/packages/react-core/src/demos/DataList/examples/DataListPagination.tsx @@ -115,75 +115,73 @@ export const DataListPagination: React.FunctionComponent = () => { ); return ( - - - - - Projects - This is a demo that showcases PatternFly Data List - - - - - {toolbarItems} - - - {paginatedRows.map((row, rowIndex) => { - const { name, threads, applications, workspaces, lastModified } = row; - return ( - - - - - - - {name} - - - - - Working repo for - PatternFly - - - - - - {threads} - - - {applications} - - - {workspaces} - - Updated {lastModified} - - - - , - - - - - - - Link - - - - ]} - /> - - - ); - })} - - {renderPagination('bottom-pagination', PaginationVariant.bottom, true, true)} - - - + + + + Projects + This is a demo that showcases PatternFly Data List + + + + + {toolbarItems} + + + {paginatedRows.map((row, rowIndex) => { + const { name, threads, applications, workspaces, lastModified } = row; + return ( + + + + + + + {name} + + + + + Working repo for + PatternFly + + + + + + {threads} + + + {applications} + + + {workspaces} + + Updated {lastModified} + + + + , + + + + + + + Link + + + + ]} + /> + + + ); + })} + + {renderPagination('bottom-pagination', PaginationVariant.bottom, true, true)} + + ); }; diff --git a/packages/react-core/src/demos/sampleData.tsx b/packages/react-core/src/demos/sampleData.tsx index 3195d55f3c0..1402ddcac6d 100644 --- a/packages/react-core/src/demos/sampleData.tsx +++ b/packages/react-core/src/demos/sampleData.tsx @@ -1,4 +1,4 @@ -export const getRandomInteger = (min: number, max: number) => Math.floor(Math.random() * (max - min + 1)) + min; +const getRandomInteger = (min: number, max: number) => Math.floor(Math.random() * (max - min + 1)) + min; export interface SampleDataRow { name: string; diff --git a/packages/react-table/src/demos/sampleData.tsx b/packages/react-table/src/demos/sampleData.tsx index 43a45f5e780..bf3902f3169 100644 --- a/packages/react-table/src/demos/sampleData.tsx +++ b/packages/react-table/src/demos/sampleData.tsx @@ -1,4 +1,4 @@ -export const getRandomInteger = (min: number, max: number) => Math.floor(Math.random() * (max - min + 1)) + min; +const getRandomInteger = (min: number, max: number) => Math.floor(Math.random() * (max - min + 1)) + min; export interface SampleDataRow { name: string;