diff --git a/packages/react-notion-x/src/components/checkbox.tsx b/packages/react-notion-x/src/components/checkbox.tsx
index 3b4d04f4c..d15aa697d 100644
--- a/packages/react-notion-x/src/components/checkbox.tsx
+++ b/packages/react-notion-x/src/components/checkbox.tsx
@@ -1,6 +1,7 @@
import * as React from 'react'
-import CheckIcon from '../icons/check'
+import { CheckIcon, CheckBoxIcon } from '../icons/check'
+import '../styles.css'
export const Checkbox: React.FC<{
isChecked: boolean
@@ -10,15 +11,17 @@ export const Checkbox: React.FC<{
if (isChecked) {
content = (
-
+
)
} else {
- content =
+ content = (
+
+
+
+ )
}
- return (
-
{content}
- )
+ return
{content}
}
diff --git a/packages/react-notion-x/src/icons/check.tsx b/packages/react-notion-x/src/icons/check.tsx
index 818d8363a..95bd38e38 100644
--- a/packages/react-notion-x/src/icons/check.tsx
+++ b/packages/react-notion-x/src/icons/check.tsx
@@ -1,11 +1,17 @@
import * as React from 'react'
-function SvgCheck(props: React.SVGProps
) {
+export function CheckIcon(props: React.SVGProps) {
return (
-