1.2.6 • Published 9 months ago

@uiw/react-clock v1.2.6

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

NPM Downloads Build & Deploy Open in unpkg npm version Open in Gitpod

An analog clock for your react app.

Quick Start

import React from "react";
import ReactClock from '@uiw/react-clock';

export default function Demo() {
  return (
    <ReactClock />
  );
}

Props

type ClockProps = {
  width?: number;
  height?: number;
  value?: Date;
  run?: boolean
} & React.SVGProps<SVGSVGElement>;

Development

Runs the project in development mode.

# Step 1, run first, listen to the component compile and output the .js and type .d.ts file
npm run watch
# Step 2, development mode, listen to compile preview website instance
npm run start

Builds the app for production to the build folder.

npm run build

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

Contributors

As always, thanks to our amazing contributors!

Made with contributors.

License

Licensed under the MIT License.

1.2.6

9 months ago

1.2.5

1 year ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago