feat First implementation of plugins system
feat: Added PCSX2 integration feat: Revamped UI a bit made it look better on light mode
This commit is contained in:
parent
d85268fad7
commit
a78e75335f
95 changed files with 2639 additions and 1259 deletions
10
src/mainview/types.d.ts
vendored
10
src/mainview/types.d.ts
vendored
|
|
@ -6,9 +6,9 @@ declare module "@emulators" {
|
|||
export default data;
|
||||
}
|
||||
|
||||
global
|
||||
declare global
|
||||
{
|
||||
declare module "react" {
|
||||
module "react" {
|
||||
interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T>
|
||||
{
|
||||
// extends React's HTMLAttributes
|
||||
|
|
@ -18,17 +18,17 @@ global
|
|||
}
|
||||
}
|
||||
|
||||
interface FocusParams
|
||||
declare interface FocusParams
|
||||
{
|
||||
onFocus?: (focusKey: string, node: HTMLElement, details: Record<string, any>) => void;
|
||||
}
|
||||
|
||||
interface InteractParams
|
||||
declare interface InteractParams
|
||||
{
|
||||
onAction?: (e?: Event) => void;
|
||||
}
|
||||
|
||||
interface FilterOption extends FocusParams, InteractParams
|
||||
declare interface FilterOption extends FocusParams, InteractParams
|
||||
{
|
||||
label: string;
|
||||
selected: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue