File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 1
- import {
2
- Button ,
3
- EdsProvider ,
4
- Icon ,
5
- NativeSelect ,
6
- Typography ,
7
- } from '@equinor/eds-core-react'
1
+ import { Button , EdsProvider , Icon , Typography } from '@equinor/eds-core-react'
8
2
import { chevron_left , chevron_right } from '@equinor/eds-icons'
9
3
import { useMemo } from 'react'
10
4
import { Stack } from '..'
@@ -49,17 +43,20 @@ export function Pagination(props: PaginationProps) {
49
43
< Typography variant = 'label' group = 'input' >
50
44
Rows per page:{ ' ' }
51
45
</ Typography >
52
- < NativeSelect
46
+ < select
53
47
id = 'rowsPerPage'
54
- label = ''
55
48
value = { rowsPerPage }
56
49
onChange = { ( event ) => setRowsPerPage ( Number ( event . target . value ) ) }
57
- style = { { width : '70px' } }
50
+ style = { {
51
+ background : 'none' ,
52
+ border : 'none' ,
53
+ width : '3rem' ,
54
+ } }
58
55
>
59
56
{ paginationSizes . map ( ( amount ) => (
60
57
< option key = { amount } > { amount } </ option >
61
58
) ) }
62
- </ NativeSelect >
59
+ </ select >
63
60
</ Stack >
64
61
< Stack spacing = { 0.5 } alignItems = 'center' >
65
62
< Typography variant = 'meta' >
You can’t perform that action at this time.
0 commit comments