@uiw/react-clock
v1.2.6
Published
An analog clock for your React app.
Downloads
27
Readme
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.