Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

x-react-clock

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

x-react-clock

A custom element wrapper for react-clock.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

x-react-clock

A custom element wrapper for react-clock.

Demo an unpkg installation

Everything defined in one file, without a build step @ https://j.mp/2Hsutor.

Usage with NPM

Install

npm i x-react-clock

Import

import * as XReactClock from 'x-react-clock'

Define

window.customElements.define('x-react-clock', XReactClock.default)

Declare

<x-react-clock rendernumbers size="150"></x-react-clock>

Style

Styles are extracted from react-clock and placed in separate css files. Apply them, or the clock will be blank when first viewed. See the demo for an example.

Keywords

FAQs

Package last updated on 02 Jun 2019

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