move interface to src/ folder

This commit is contained in:
SethBurkart123
2023-12-20 13:08:31 +11:00
parent 378a983bf5
commit ebb8ddbaf0
40 changed files with 3 additions and 4 deletions
+19
View File
@@ -0,0 +1,19 @@
import { useSettingsContext } from '../SettingsContext';
const PickerSwatch = () => {
const { setShowPicker, settingsState } = useSettingsContext();
const enablePicker = () => {
setShowPicker(true);
};
return (
<button
onClick={enablePicker}
style={{ background: settingsState.customThemeColor }}
className="w-16 h-8 rounded-md"
></button>
);
};
export default PickerSwatch;