diff --git a/lib/components/InputContent.jsx b/lib/components/InputContent.jsx index 5e920e7..4e3ac14 100644 --- a/lib/components/InputContent.jsx +++ b/lib/components/InputContent.jsx @@ -1,7 +1,7 @@ import * as React from "react"; import { useState } from "react"; -const InputContent = ({ error, setError, data, setData }) => { +const InputContent = ({ error, setError, data, setData, colorScheme }) => { const [dataHeaders, setDataHeaders] = useState([ { isUsed: true, @@ -80,15 +80,18 @@ const InputContent = ({ error, setError, data, setData }) => { value={dataItem.isUsed} defaultChecked={dataItem.isUsed} onChange={(e) => toggleChecked(e.target.value, dataItem)} + className={colorScheme == "dark" && "dark"} /> change(e, dataItem, "header")} + className={colorScheme == "dark" && "dark"} /> : change(e, dataItem, "value")} + className={colorScheme == "dark" && "dark"} /> ); @@ -99,6 +102,7 @@ const InputContent = ({ error, setError, data, setData }) => {