An analog clock for your react app.
import ReactClock from '@uiw/react-clock';
function Demo() {
return (
<ReactClock />
);
}
type ClockProps = {
width?: number;
height?: number;
value?: Date;
run?: boolean
} & React.SVGProps<SVGSVGElement>;
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!
As always, thanks to our amazing contributors!
Made with github-action-contributors.
Licensed under the MIT License.