Statistical item

  • Nemovitosti
    123
  •         {% include "@Components/items/statistical-item/statistical-item.twig" with {
    	props: {
    		title: "Nemovitosti",
    		link: {
    			title: "123",
    			href: "some-url",
    			color: "primary"
    		}
    	}
    } %}
          
  •           <div class="i-statistical">
    	<dt class="i-statistical__title">Nemovitosti</dt>
    	<dd class="i-statistical__value">
    					<a class="link --primary" href="some-url">
          <span class="link__title">
          <span class="link__title-wrap">123</span>
        </span>
        </a>
    			</dd>
    </div>
    
            

Schema

    {
	"props": {
		"title": {
			"type": "string",
			"description": "Title of the component"
		},
		"link": {
			"type": "object",
			"description": "Options for link core component"
		},
		"value": {
			"type": "string",
			"description": "Optional string which is considered as value instead of the link, if link is not defined"
		}
	}
}