Skip to content

Commit

Permalink
fix: html23 build error and default kits build error
Browse files Browse the repository at this point in the history
  • Loading branch information
bbohlender committed Apr 29, 2024
1 parent 4d7d1aa commit b4117df
Show file tree
Hide file tree
Showing 4 changed files with 458 additions and 635 deletions.
2 changes: 1 addition & 1 deletion apps/html23/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default defineConfig({
alias: {
'@': path.resolve(__dirname, './src'),
},
dedupe: ['@react-three/fiber'],
dedupe: ['@react-three/fiber', 'three'],
},
base: '/uikit/apps/html23/',
optimizeDeps: {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@types/node": "^20.11.0",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.2.18",
"@types/three": "^0.164.0",
"@types/three": "0.161.0",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitejs/plugin-react": "^4.2.1",
Expand All @@ -27,7 +27,7 @@
"mocha": "^10.2.0",
"prettier": "^3.2.5",
"react": "^18.3.1",
"three": "^0.164.0",
"three": "0.161.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"typescript-json-schema": "^0.63.0",
Expand Down
8 changes: 5 additions & 3 deletions packages/kits/default/src/pagination.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Container, ContainerProperties, Text } from '@react-three/uikit'
import { ComponentInternals, Container, ContainerProperties, Text } from '@react-three/uikit'
import { ChevronLeft, ChevronRight, MoreHorizontal } from '@react-three/uikit-lucide'
import React from 'react'
import React, { ReactNode, RefAttributes } from 'react'
import { borderRadius, colors } from './theme.js'

export type PaginationProperties = ContainerProperties
Expand All @@ -17,7 +17,9 @@ export function PaginationContent(props: PaginationContentProperties) {

export type PaginationItemProperties = ContainerProperties

export const PaginationItem = Container
export const PaginationItem: (
props: ContainerProperties & RefAttributes<ComponentInternals<ContainerProperties>>,
) => ReactNode = Container

const paginationVariants: {
[Key in string]: {
Expand Down
Loading

0 comments on commit b4117df

Please sign in to comment.