PHP Classes

File: src/components/card/BaseCard.vue

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WP Emailer   src/components/card/BaseCard.vue   Download  
File: src/components/card/BaseCard.vue
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WP Emailer
Allow WordPress users to configure email settings
Author: By
Last change:
Date: 1 year ago
Size: 992 bytes
 

Contents

Class file image Download
<template> <div class="wp-emailer-card"> <div class="wp-emailer-card-header wp-emailer-form-row"> <h2 class="title"> {{ headerTitle }} </h2> <p class="description"> {{ headerDescription }} </p> </div> <div class="wp-emailer-card-content"> <slot name="content" /> </div> </div> </template> <script> export default { name: "BaseCard", props: { headerTitle: { type: String, required: true, }, headerDescription: { type: String, required: false, default: "", }, }, }; </script> <style lang="scss" scoped> .wp-emailer-card { border-radius: 4px; .wp-emailer-card-header { padding: 20px 0 !important; .title { color: var(--color-secondary-dark); font-size: 20px; font-weight: 700; margin: 0 0 6px 0; } .description { color: var(--color-secondary-lite); } } } </style>