File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
src/main/kotlin/com/github/underlow/semantic/addons/pagination Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ @file:JsModule(" semantic-ui-react/dist/commonjs/addons/Pagination/Pagination" )
2+
3+ package com.github.underlow.semantic.addons.pagination
4+
5+ import com.github.underlow.semantic.SemanticShorthandItem
6+ import org.w3c.dom.events.Event
7+ import react.RClass
8+ import react.RProps
9+
10+ external interface PaginationProps : RProps {
11+ var defaultActivePage: Int? /* String | Number */
12+ var activePage: Int? /* String | Number */
13+ var boundaryRange: Int? /* String | Number */
14+ var ellipsisItem: SemanticShorthandItem <PaginationItemProps >?
15+ var firstItem: SemanticShorthandItem <PaginationItemProps >?
16+ var lastItem: SemanticShorthandItem <PaginationItemProps >?
17+ var nextItem: SemanticShorthandItem <PaginationItemProps >?
18+ var pageItem: SemanticShorthandItem <PaginationItemProps >?
19+ var prevItem: SemanticShorthandItem <PaginationItemProps >?
20+ var onPageChange: ((event: Event , data: PaginationProps ) -> Unit )?
21+ var siblingRange: Int? /* String | Number */
22+ var totalPages: Int? /* String | Number */
23+ }
24+
25+ @JsName(" default" )
26+ external var Pagination : RClass <PaginationProps >
Original file line number Diff line number Diff line change 1+ @file:JsModule(" semantic-ui-react/dist/commonjs/addons/Pagination/PaginationItem" )
2+
3+ package com.github.underlow.semantic.addons.pagination
4+
5+ import org.w3c.dom.events.Event
6+ import react.RClass
7+ import react.RProps
8+
9+ external interface PaginationItemProps : RProps {
10+ var active: Boolean?
11+ var disabled: Boolean?
12+ var onClick: ((event: Event , data: PaginationItemProps ) -> Unit )?
13+ var onKeyDown: ((event: Event , data: PaginationItemProps ) -> Unit )?
14+ var type: String? /* "ellipsisItem" | "firstItem" | "prevItem" | "pageItem" | "nextItem" | "lastItem" */
15+ }
16+
17+ @JsName(" default" )
18+ external var PaginationItem : RClass <PaginationItemProps >
You can’t perform that action at this time.
0 commit comments