feat: massive front-end overhaul and initial github release
This commit is contained in:
parent
a2b40e38bf
commit
d5a0e70580
303 changed files with 19840 additions and 676 deletions
28
src/mainview/types.d.ts
vendored
Normal file
28
src/mainview/types.d.ts
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
declare const __HOST__: string;
|
||||
|
||||
global
|
||||
{
|
||||
declare module "react" {
|
||||
interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T>
|
||||
{
|
||||
// extends React's HTMLAttributes
|
||||
"save-child-focus"?: SaveFocusType;
|
||||
"save-scroll"?: boolean;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface FocusParams
|
||||
{
|
||||
onFocus?: () => void;
|
||||
}
|
||||
|
||||
interface InteractParams
|
||||
{
|
||||
onAction?: () => void;
|
||||
}
|
||||
|
||||
interface FilterOption extends FocusParams, InteractParams
|
||||
{
|
||||
label: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue