Add titles/tooltips

This commit is contained in:
Lncvrt committed 2025-12-20 21:10:05 -07:00
1 parent bc1ca2a2b1
commit e5d9226233
6 files changed
+59 -4

No files matched your search

+8 -2
View File
@@ -3,9 +3,15 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faCheck } from '@fortawesome/free-solid-svg-icons'
import { SettingProps } from '../types/SettingProps'
export function Setting ({ label, value, onChange, className }: SettingProps) {
export function Setting ({
label,
value,
onChange,
className,
title
}: SettingProps) {
return (
<div className={`flex items-center gap-2 mb-2 ${className}`}>
<div className={`flex items-center gap-2 mb-2 ${className}`} title={title}>
<label className='text-white text-lg'>{label}</label>
<div className='setting-checkbox-wrapper'>
<input