Socket
Socket
Sign inDemoInstall

@financial-times/community-event-teaser

Package Overview
Dependencies
Maintainers
17
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/community-event-teaser

UI for community events


Version published
Weekly downloads
548
decreased by-38.77%
Maintainers
17
Weekly downloads
 
Created
Source

community-event-teaser

Description

This is a package which contains the ui for an event.

Installation

npm install @financial-times/community-event-teaser

Usage

import { h, render } from '@financial-times/x-engine';
import { EventTeaser } from "@financial-times/community-event-teaser";

const container = document.querySelector('.some-container-element');

render((
  <EventTeaser
    imgUrl={"https://ftweekend.live.ft.com/some-cool-image-png"}
    title={"FTWeekend Festival"}
    eventUrl={"https://ftweekend.live.ft.com"}
    layout={"large"}
    location={"Kenwood House Gardens & Online"}
    scheduledStartTime={new Date("2021-09-04T12:00:00.000Z")}
  />), container)

Development

Setting up your local environment

Simply clone this repo, cd into the directory and run:

npm install

Storybooks

To view storybooks, run:

npm run storybook

FAQs

Package last updated on 10 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc