diff --git a/src/components/scrollpanel/ScrollPanel.d.ts b/src/components/scrollpanel/ScrollPanel.d.ts index 9050eb72f..8e532ca90 100644 --- a/src/components/scrollpanel/ScrollPanel.d.ts +++ b/src/components/scrollpanel/ScrollPanel.d.ts @@ -1,12 +1,34 @@ import { VNode } from 'vue'; +import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; -interface ScrollPanelProps {} +export interface ScrollPanelProps { +} -declare class ScrollPanel { - $props: ScrollPanelProps; - $slots: { - '': VNode[]; +export interface ScrollPanelSlots { + /** + * Custom content slot. + */ + default: () => VNode[]; +} + +export declare type ScrollPanelEmits = { +} + +declare class ScrollPanel extends ClassComponent { } + +declare module '@vue/runtime-core' { + interface GlobalComponents { + ScrollPanel: GlobalComponentConstructor } } +/** + * + * 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;