Skip to content

Commit

Permalink
Update peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
iancleary committed Feb 1, 2025
1 parent 4c6f529 commit ec7ee5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"access": "public"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@remix-run/react": "^2.15.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router": "^7.1.5",
"@stylexjs/stylex": "^0.9.3"
},
"devDependencies": {
Expand Down
9 changes: 3 additions & 6 deletions ui/src/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
*/

import React from "react";
import { Link } from "@remix-run/react";

import { Link } from "react-router";
import * as stylex from "@stylexjs/stylex";
import { size, colors } from "../../styles/tokens.stylex";

Expand Down Expand Up @@ -58,8 +57,6 @@ const styles = stylex.create({
},
});



interface Props {
to?: string;
variant?: string;
Expand All @@ -86,7 +83,7 @@ const Button: React.FC<Props> = ({
variant === "danger" && styles.danger,
size === "sm" && styles.sm,
size === "icon" && styles.icon,
size === "base" && styles.base,
size === "base" && styles.base
)}
>
{children}
Expand All @@ -103,7 +100,7 @@ const Button: React.FC<Props> = ({
variant === "danger" && styles.danger,
size === "sm" && styles.sm,
size === "icon" && styles.icon,
size === "base" && styles.base,
size === "base" && styles.base
)}
>
{children}
Expand Down

0 comments on commit ec7ee5f

Please sign in to comment.