feat: splitpanes
This commit is contained in:
21
client/splitpanes.d.ts
vendored
Normal file
21
client/splitpanes.d.ts
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
// TODO install @types/splitpanes once updated
|
||||
declare module 'splitpanes' {
|
||||
import { Component } from 'vue'
|
||||
|
||||
export interface SplitpaneProps {
|
||||
horizontal: boolean
|
||||
pushOtherPanes: boolean
|
||||
dblClickSplitter: boolean
|
||||
firstSplitter: boolean
|
||||
}
|
||||
|
||||
export interface PaneProps {
|
||||
size: number | string
|
||||
minSize: number | string
|
||||
maxSize: number | string
|
||||
}
|
||||
|
||||
export type Pane = Component<PaneProps>
|
||||
export const Pane: Pane
|
||||
export const Splitpanes: Component<SplitpaneProps>
|
||||
}
|
||||
Reference in New Issue
Block a user