Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review Block Component API #66

Open
zelal-dev opened this issue Nov 14, 2024 · 0 comments
Open

Review Block Component API #66

zelal-dev opened this issue Nov 14, 2024 · 0 comments
Assignees
Milestone

Comments

@zelal-dev
Copy link
Contributor

zelal-dev commented Nov 14, 2024

Component Name: Review Block
Version: 1.0.0
Category: Block
Type: Backend


Attributes

{
  "collectionName": "components_block_reviews",
  "info": {
    "displayName": "Review Block",
    "icon": "star",
    "description": "A block for displaying multiple reviews with customizable options."
  },
  "category": "Blocks",
  "modelName": "review-block",
  "globalId": "ComponentsBlockReviews",
  "uid": "block.review-block",
  "modelType": "component",
  "options": {},
  "pluginOptions": {},
  "attributes": {
    "content": {
      "type": "component",
      "repeatable": false,
      "component": "config.section-title"
    },
    "reviews": {
      "type": "component",
      "repeatable": true,
      "component": "config.review-card"
    },
    "empty": {
      "type": "component",
      "repeatable": false,
      "component": "shared.empty"
    },
    "button": {
      "type": "component",
      "repeatable": false,
      "component": "component.link"
    },
    "style": {
      "type": "component",
      "repeatable": false,
      "component": "component.style-section"
    },
    "variation": {
      "type": "enumeration",
      "enum": ["default", "compact", "detailed"],
      "default": "default"
    }
  }
}

@zelal-dev zelal-dev changed the title Review Card Review Block Nov 14, 2024
@zelal-dev zelal-dev self-assigned this Nov 14, 2024
@zelal-dev zelal-dev added this to the 0.0.3 milestone Nov 14, 2024
@zelal-dev zelal-dev changed the title Review Block Review Block Component API Dec 4, 2024
@zelal-dev zelal-dev modified the milestones: 0.0.3, 1.0.0 Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants