Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (49 sloc) 1.22 KB
title
size

Type: string
Default: normal
Values: 'normal'|'large'

It set the size layout of the card.

<MultiCodeEditor languages={{ React: `import Microlink from '@microlink/react'

export default () => ( ) , Vanilla:

<script> document.addEventListener('DOMContentLoaded', function (event) { microlink('a', { media: 'logo', size: 'normal' }) }) </script>

, Jekyll: {:.card-preview data-media='logo' data-size='normal'} `}} />

Alternatively you can set large

<MultiCodeEditor languages={{ React: `import Microlink from '@microlink/react'

export default () => ( ) , Vanilla:

<script> document.addEventListener('DOMContentLoaded', function (event) { microlink('a', { media: 'logo', size: 'large' }) }) </script>

, Jekyll: {:.card-preview data-media='logo' data-size='large'} `}} />

You can’t perform that action at this time.