How to use the @financial-times/x-teaser.presets.SmallHeavy 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 / components / x-teaser-timeline / src / TeaserTimeline.jsx View on Github external
{group.items.map(item => {
							if (item.id) {
								return (
									<li>
										
										{showSaveButtons &amp;&amp;
										<div>
											
										</div>}
									</li>
								);
							} else if (typeof item === 'string') {
								return (<li>);</li>
github Financial-Times / x-dash / private / ssr-benchmark / mocks / list.js View on Github external
conceptSuffix: '',
		concept: {
			url: '#',
			prefLabel: 'Sexual misconduct allegations'
		},
		altConcept: {
			url: '#',
			prefLabel: 'FT Investigations'
		},
		image: {
			url: 'http://prod-upp-image-read.ft.com/a25832ea-0053-11e8-9650-9c0ad2d7c5b5',
			width: 2048,
			height: 1152
		},
		indicators: {},
		...presets.SmallHeavy
	},
	{
		type: 'article',
		id: '',
		url: '#',
		title: 'Inside charity fundraiser where hostesses are put on show',
		altTitle: 'Men Only, the charity fundraiser with hostesses on show',
		standfirst:
			'FT investigation finds groping and sexual harassment at secretive black-tie dinner',
		altStandfirst: 'Groping and sexual harassment at black-tie dinner charity event',
		publishedDate: '2018-01-23T15:07:00.000Z',
		firstPublishedDate: '2018-01-23T13:53:00.000Z',
		conceptPrefix: '',
		conceptSuffix: '',
		concept: {
			url: '#',

@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