primevue-mirror/components/lib/splitterpanel/SplitterPanel.d.ts

60 lines
1.3 KiB
TypeScript
Raw Normal View History

2023-02-28 21:23:26 +00:00
/**
*
* SplitterPanel is a helper component for Splitter component.
*
* [Live Demo](https://www.primevue.org/splitter/)
*
* @module splitterpanel
*
*/
2022-09-06 12:03:37 +00:00
import { VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
2023-02-28 21:23:26 +00:00
/**
* Defines valid properties in SplitterPanel component.
*/
2022-09-06 12:03:37 +00:00
export interface SplitterPanelProps {
/**
* Size of the element relative to 100%.
*/
size?: number | undefined;
/**
* Minimum size of the element relative to 100%.
*/
minSize?: number | undefined;
}
2023-02-28 21:23:26 +00:00
/**
* Defines valid slots in SplitterPanel slots.
*/
2022-09-06 12:03:37 +00:00
export interface SplitterPanelSlots {
/**
* Custom content template.
*/
default: () => VNode[];
}
2023-02-28 21:23:26 +00:00
export interface SplitterPanelEmits {}
2022-09-06 12:03:37 +00:00
2023-02-28 21:23:26 +00:00
/**
* **PrimeVue - SplitterPanel**
*
* _SplitterPanel is a helper component for Splitter component._
*
* [Live Demo](https://www.primevue.org/splitterpanel/)
* --- ---
2023-03-03 10:55:20 +00:00
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
2023-02-28 21:23:26 +00:00
*
* @group Component
*
*/
2023-03-01 12:30:54 +00:00
declare class SplitterPanel extends ClassComponent<SplitterPanelProps, SplitterPanelSlots, SplitterPanelEmits> {}
2022-09-06 12:03:37 +00:00
declare module '@vue/runtime-core' {
interface GlobalComponents {
2022-09-14 11:26:01 +00:00
SplitterPanel: GlobalComponentConstructor<SplitterPanel>;
2022-09-06 12:03:37 +00:00
}
}
export default SplitterPanel;