playbook_ui_docs 13.34.1.pre.alpha.PLAY14633399 → 13.34.1.pre.alpha.pbntr258paginationkitforreact3404

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29b7dfa9fecc4f3e494dbc8ecbb33e0a6a9860ecbf3d963b2b96335b49f5c333
4
- data.tar.gz: 39f79e2c5703cbcebf1c4a8bf52c636fa0915cd3d1244a9f3b775b8683f95a90
3
+ metadata.gz: 3661afd6db62bfe3a19de6dea49a4d09580c29a6674ed826c839947beb36bd06
4
+ data.tar.gz: '09e3df17e295c03589fd903e3376bc53109c23ac43fc41854dc27a5265d93b17'
5
5
  SHA512:
6
- metadata.gz: 13fdcf53821ba39cbd3cd97536de1af8e54f35d25438e464d56e55a1186e3efcb797e625573edb5a37aee271c588c637e7e15cfcb27ca7941d4ba80b313944b7
7
- data.tar.gz: 6d3348808e35cadafe4b70fb2f99624465d00b21232c93fca38cc9808297ee7315d9aa47630e3a4583a478f98239d0222adc718fc29282a2d0013e4c68ed9d2c
6
+ metadata.gz: 3728d8200a23e2b94ce1386d865599820b5c520525caaa31c9f6dab81ab9e912c8e004499a6008e36087fba459a931de59ccb14db823e29e4a9e9e8ce2e2bef6
7
+ data.tar.gz: 3d1e63b72edcb1669784c39d516d81a98c2a2416128515a9d1f01918004639dce010b5ee2e06154dac7246585ca73e2bb5367e7b7f4ed048ddbfa4630f57ad8f
@@ -0,0 +1,19 @@
1
+ import React from 'react'
2
+
3
+ import Pagination from '../_pagination'
4
+
5
+ const PaginationDefault = (props) => {
6
+
7
+ return (
8
+ <>
9
+ <Pagination
10
+ defaultPage={3}
11
+ pageRange={5}
12
+ totalPages={10}
13
+ {...props}
14
+ />
15
+ </>
16
+ )
17
+ }
18
+
19
+ export default PaginationDefault
@@ -3,4 +3,5 @@ examples:
3
3
  rails:
4
4
  - pagination_default: Default
5
5
 
6
-
6
+ react:
7
+ - pagination_default: Default
@@ -0,0 +1 @@
1
+ export { default as PaginationDefault } from './_pagination_default.jsx'
@@ -5,12 +5,12 @@ import TextInput from '../../pb_text_input/_text_input'
5
5
  import Title from '../../pb_title/_title'
6
6
 
7
7
  const TextInputDefault = (props) => {
8
- const [firstName, setFirstName] = useState('')
9
8
  const handleOnChangeFirstName = ({ target }) => {
10
9
  setFirstName(target.value)
11
10
  }
12
11
  const ref = React.createRef()
13
12
 
13
+ const [firstName, setFirstName] = useState('')
14
14
  const [formFields, setFormFields] = useState({
15
15
  firstName: 'Jane',
16
16
  lastName: 'Doe',