Fix svg checkmark
This commit is contained in:
parent
012eeb3b8e
commit
e96a574e2b
1 changed files with 3 additions and 3 deletions
|
@ -4,8 +4,8 @@ import * as Toast from "@radix-ui/react-toast";
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { Controller, useForm } from "react-hook-form";
|
import { Controller, useForm } from "react-hook-form";
|
||||||
|
|
||||||
import icon_checkbox_checked from "../assets/icon-checkbox-checked.svg";
|
import icon_checkbox_checked from "/assets/icon-checkbox-checked.svg";
|
||||||
import icon_checkbox_unchecked from "../assets/icon-checkbox-unchecked.svg";
|
import icon_checkbox_unchecked from "/assets/icon-checkbox-unchecked.svg";
|
||||||
import icon_check from "../assets/check.svg";
|
import icon_check from "../assets/check.svg";
|
||||||
|
|
||||||
import { Button } from "./components/button";
|
import { Button } from "./components/button";
|
||||||
|
@ -153,7 +153,7 @@ export default function App() {
|
||||||
onCheckedChange={onChange}
|
onCheckedChange={onChange}
|
||||||
className="size-300 flex-shrink-0"
|
className="size-300 flex-shrink-0"
|
||||||
style={{
|
style={{
|
||||||
backgroundImage: `url('${icon_checkbox_unchecked}')`,
|
backgroundImage: `url("${icon_checkbox_unchecked}")`,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Checkbox.Indicator>
|
<Checkbox.Indicator>
|
||||||
|
|
Reference in a new issue