Skip to content

Commit

Permalink
fix: change dependencies (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mordech authored Sep 29, 2023
1 parent 4320132 commit 5493e62
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/dynamic-grid-react/lib/components/dynamic-grid.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {
import React, {
CSSProperties,
forwardRef,
useCallback,
Expand All @@ -12,14 +12,14 @@ import classnames from 'classnames';

import styles from '@mordech/dynamic-grid-core/lib/core.module.scss';

interface ScrollProps {
export interface ScrollProps {
hint?: number;
hideScrollbar?: boolean;
rows?: number;
scrollSnapAlign?: 'start' | 'center' | 'end' | 'none';
}

type DynamicGridProps = {
export type DynamicGridProps = {
minColumnWidth: string;
gridType?: 'auto-fill' | 'auto-fit';
gap?: string;
Expand Down
4 changes: 2 additions & 2 deletions packages/dynamic-grid-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"prepare": "yarn build"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.2.0"
},
"devDependencies": {
"react-dom": "^18.2.0",
"vite": "^4.4.7"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/dynamic-grid-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"jsx": "react",

/* Linting */
"strict": true,
Expand Down

0 comments on commit 5493e62

Please sign in to comment.