dsfr4drupal-1.x-dev/components/tag/tag.component.yml

components/tag/tag.component.yml
name: DSFR - Tag
description: The tag categorizes/classifies/organizes content using keywords. It helps users to search and find information easily.
status: stable
group: DSFR
variants:
  sm:
    title: Small
    description: Component small size
  md:
    title: Medium
    description: Component medium size (default)
props:
  properties:
    attributes:
      type: Drupal\Core\Template\Attribute
      title: Attributes
    color_schema:
      type: string
      title: Color schema
      description: 'Example: brown-caramel'
    disabled:
      type: boolean
      title: Is disabled?
      default: false
    dismissible:
      type: boolean
      title: Is dismissible?
      default: false
    icon:
      type: string
      title: Icon
      description: 'Example: "checkbox-line"'
    label:
      type: string
      title: Label
    tag:
      type: string
      title: HTML tag
      description: 'Depending on the tag state, the default tag is "button" or "p".'
    url:
      type: string
      title: Link URL
  required:
    - label
libraryOverrides:
  dependencies:
    - dsfr4drupal/component.tag

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc