$schema: https://git.drupalcode.org/project/drupal/-/raw/HEAD/core/assets/schemas/v1/metadata.schema.json
name: Call to Action With Existing Variant Prop
description: Call to action link.
props:
  type: object
  required:
    - text
  properties:
    text:
      type: string
      title: Title
      description: The title for the cta
      examples:
        - Press
        - Submit now
    href:
      type: string
      title: URL
      format: uri
    target:
      type: string
      title: Target
      enum:
        - ''
        - _blank
    variant:
      type: string
      title: Variant Prop
      enum:
        - primary
        - secondary
        - tertiary
    attributes:
      type: Drupal\Core\Template\Attribute
      name: Attributes
