dsfr4drupal-1.x-dev/components/button-group/button-group.component.yml

components/button-group/button-group.component.yml
name: DSFR - Button (group)
description: The button group allows you to group several button components together.
status: stable
group: DSFR
variants:
  sm:
    title: Small
    description: Component small size
  md:
    title: Medium
    description: Component medium size (default)
  lg:
    title: Large
    description: Component large size
props:
  properties:
    attributes:
      type: Drupal\Core\Template\Attribute
      title: Attributes
    equisized:
      type: boolean
      title: Is equisized?
      default: false
    inline:
      type: boolean
      title: Is inline ?
      default: false
    inline_from:
      type: string
      title: Is inline from?
        - sm
        - md
        - lg
    items:
      type: array
      title: Items
      description: 'Each item expects properties of the "dsfr4drupal:button" component.'
      items:
        type: object
    position:
      type: string
      title: Position
      default: left
      enum:
        - between
        - center
        - left
        - right
  required:
    - items
libraryOverrides:
  dependencies:
    - dsfr4drupal/component.button

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

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