Socket
Socket
Sign inDemoInstall

@financial-times/community-event-teaser

Package Overview
Dependencies
8
Maintainers
18
Versions
198
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/community-event-teaser


Version published
Weekly downloads
351
decreased by-46.41%
Maintainers
18
Created
Weekly downloads
 

Readme

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
    title={"FTWeekend Festival"}
    eventUrl={"https://ftweekend.live.ft.com"}
    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

Last updated on 24 Aug 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc