mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-25 20:38:52 +02:00
fix(Field): remove incompatible properties (#42)
* fix(Field): remove incompatible properties * fix(Field): remove the override
This commit is contained in:
@@ -3,7 +3,7 @@ import { FC, HTMLAttributes, ReactNode, RefAttributes } from 'react';
|
||||
import { findModuleChild } from '../webpack';
|
||||
import { FooterLegendProps } from './FooterLegend';
|
||||
|
||||
export interface FieldProps extends HTMLAttributes<HTMLDivElement>, FooterLegendProps {
|
||||
export interface FieldProps extends FooterLegendProps {
|
||||
label?: ReactNode;
|
||||
bottomSeparator?: 'standard' | 'thick' | 'none';
|
||||
description?: ReactNode;
|
||||
@@ -20,7 +20,7 @@ export interface FieldProps extends HTMLAttributes<HTMLDivElement>, FooterLegend
|
||||
verticalAlignment?: 'center' | 'none'; // Alligns inline label with children
|
||||
focusable?: boolean; // Allows to get focus without any focusable children or on* callbacks
|
||||
onActivate?: (e: CustomEvent | MouseEvent) => void;
|
||||
override onClick?: (e: CustomEvent | MouseEvent) => void;
|
||||
onClick?: (e: CustomEvent | MouseEvent) => void;
|
||||
}
|
||||
|
||||
export const Field = findModuleChild((m) => {
|
||||
|
||||
Reference in New Issue
Block a user