added basic data for event list, md editor and viewer
This commit is contained in:
@@ -23,9 +23,11 @@ export const Switch = <T extends FieldValues>({
|
||||
...inputProps
|
||||
}: InputProps<T>) => {
|
||||
return (
|
||||
<div className="form-control">
|
||||
<label className="label cursor-pointer">
|
||||
<span className={cn('label-text', className)}>{label}</span>
|
||||
<div className="form-control ">
|
||||
<label className="label cursor-pointer w-full">
|
||||
<span className={cn('label-text text-left w-full', className)}>
|
||||
{label}
|
||||
</span>
|
||||
<input type="checkbox" className="toggle" {...form.register(name)} />
|
||||
</label>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user