How to use the @financial-times/x-teaser.presets.Small function in @financial-times/x-teaser

To help you get started, weā€™ve selected a few @financial-times/x-teaser examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Financial-Times / x-dash / private / ssr-benchmark / mocks / list.js View on Github external
},
	{
		type: 'paid-post',
		id: '',
		url: '#',
		title: 'Why eSports companies are on a winning streak',
		standfirst:
			'ESports is big business and about to get bigger: global revenues could hit $1.5bn by 2020',
		promotedPrefix: 'Paid post',
		promotedSuffix: 'by UBS',
		image: {
			url: 'https://tpc.googlesyndication.com/pagead/imgad?id=CICAgKCrm_3yahABGAEyCMx3RoLss603',
			width: 700,
			height: 394
		},
		...presets.Small
	}
];
github Financial-Times / x-dash / components / x-teaser-list / src / TeaserList.jsx View on Github external
{items.map(item => {
		return (
			<li>
				<div>
					
				</div>
				{showSaveButtons &amp;&amp; <div>
					
				</div>}
			</li>
		);
	})}

@financial-times/x-teaser

This module provides templates for use with o-teaser. Teasers are used to present content.

ISC
Latest version published 6 days ago

Package Health Score

76 / 100
Full package analysis