card.d.ts 1.2 KB

12345678910111213141516
  1. import type { ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, StyleValue } from 'vue';
  2. export declare const cardProps: {
  3. readonly header: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  4. readonly footer: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  5. readonly bodyStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
  6. readonly headerClass: StringConstructor;
  7. readonly bodyClass: StringConstructor;
  8. readonly footerClass: StringConstructor;
  9. readonly shadow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, undefined, boolean>;
  10. };
  11. export type CardProps = ExtractPropTypes<typeof cardProps>;
  12. export type CardPropsPublic = ExtractPublicPropTypes<typeof cardProps>;
  13. export interface CardConfigContext {
  14. shadow?: string;
  15. }
  16. export declare const cardContextKey: InjectionKey<CardConfigContext>;