35 lines
786 B
TypeScript
35 lines
786 B
TypeScript
|
import { VNode } from 'vue';
|
||
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||
|
|
||
|
export interface ScrollPanelProps {
|
||
|
}
|
||
|
|
||
|
export interface ScrollPanelSlots {
|
||
|
/**
|
||
|
* Custom content slot.
|
||
|
*/
|
||
|
default: () => VNode[];
|
||
|
}
|
||
|
|
||
|
export declare type ScrollPanelEmits = {
|
||
|
}
|
||
|
|
||
|
declare class ScrollPanel extends ClassComponent<ScrollPanelProps, ScrollPanelSlots, ScrollPanelEmits> { }
|
||
|
|
||
|
declare module '@vue/runtime-core' {
|
||
|
interface GlobalComponents {
|
||
|
ScrollPanel: GlobalComponentConstructor<ScrollPanel>
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.
|
||
|
*
|
||
|
* Demos:
|
||
|
*
|
||
|
* - [ScrollPanel](https://www.primefaces.org/primevue/showcase/#/scrollpanel)
|
||
|
*
|
||
|
*/
|
||
|
export default ScrollPanel;
|