UNPKG

naive-ui

Version:

A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast

110 lines (109 loc) 3.99 kB
import { type CSSProperties, type PropType } from 'vue'; import type { ScrollbarProps } from '../../_internal'; import type { ExtractPublicPropTypes } from '../../_utils'; export declare const drawerContentProps: { title: StringConstructor; headerClass: StringConstructor; headerStyle: PropType<string | CSSProperties>; footerClass: StringConstructor; footerStyle: PropType<string | CSSProperties>; bodyClass: StringConstructor; bodyStyle: PropType<string | CSSProperties>; bodyContentClass: StringConstructor; bodyContentStyle: PropType<string | CSSProperties>; nativeScrollbar: { type: BooleanConstructor; default: boolean; }; scrollbarProps: PropType<ScrollbarProps>; closable: BooleanConstructor; }; export type DrawerContentProps = ExtractPublicPropTypes<typeof drawerContentProps>; declare const _default: import("vue").DefineComponent<{ title: StringConstructor; headerClass: StringConstructor; headerStyle: PropType<string | CSSProperties>; footerClass: StringConstructor; footerStyle: PropType<string | CSSProperties>; bodyClass: StringConstructor; bodyStyle: PropType<string | CSSProperties>; bodyContentClass: StringConstructor; bodyContentStyle: PropType<string | CSSProperties>; nativeScrollbar: { type: BooleanConstructor; default: boolean; }; scrollbarProps: PropType<ScrollbarProps>; closable: BooleanConstructor; }, { handleCloseClick: () => void; mergedTheme: import("vue").Ref<{ common: import("../..").ThemeCommonVars; self: { bodyPadding: string; borderRadius: string; headerPadding: string; footerPadding: string; color: string; textColor: string; titleTextColor: string; titleFontSize: string; titleFontWeight: string; boxShadow: string; lineHeight: string; headerBorderBottom: string; footerBorderTop: string; closeIconColor: string; closeIconColorHover: string; closeIconColorPressed: string; closeSize: string; closeIconSize: string; closeColorHover: string; closeColorPressed: string; closeBorderRadius: string; resizableTriggerColorHover: string; }; peers: { Scrollbar: import("../../_mixins").Theme<"Scrollbar", { height: string; width: string; borderRadius: string; color: string; colorHover: string; railInsetHorizontalBottom: string; railInsetHorizontalTop: string; railInsetVerticalRight: string; railInsetVerticalLeft: string; railColor: string; }, any>; }; peerOverrides: { Scrollbar?: { peers?: { [x: string]: any; } | undefined; } | undefined; }; }>; mergedClsPrefix: import("vue").Ref<string>; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ title: StringConstructor; headerClass: StringConstructor; headerStyle: PropType<string | CSSProperties>; footerClass: StringConstructor; footerStyle: PropType<string | CSSProperties>; bodyClass: StringConstructor; bodyStyle: PropType<string | CSSProperties>; bodyContentClass: StringConstructor; bodyContentStyle: PropType<string | CSSProperties>; nativeScrollbar: { type: BooleanConstructor; default: boolean; }; scrollbarProps: PropType<ScrollbarProps>; closable: BooleanConstructor; }>>, { closable: boolean; nativeScrollbar: boolean; }, {}>; export default _default;