【文件属性】:
文件名称:REACT-ANALOG-CLOCK:可定制的模拟时钟,用于React应用
文件大小:1.61MB
文件格式:ZIP
更新时间:2021-05-05 17:04:38
react component watch analog-clock numerical-systems
React模拟时钟
只是您的React应用的模拟时钟。
Github
NPM
演示版
您可以在玩时钟,并通过设置特征来选择它的外观!
安装
通过执行npm install --save ras-react-component或yarn add ras-react-component将此模拟时钟添加到您的项目中。
元素
手表由底盘,分钟刻度,小时刻度,数字,指针和中心点组成。 蜜蜂由四个同心圆组成,彼此重叠。 数字可以是罗马和阿拉伯数字,并且可以采用水平和径向位置。
用法
> = 1.6.0的版本带有钩子。 如果出于某种原因要在较早的React中使用此软件包,请使用1.5.0版。
用法示例:
import React , { Component } from "react"
import AnalogClock from "ras-react-component"
const style
【文件预览】:
REACT-ANALOG-CLOCK-master
----.gitignore(30B)
----.babelrc(33B)
----images()
--------examples.png(1.11MB)
--------elements1.png(389KB)
--------numerals.png(57KB)
----.eslintrc(401B)
----package.json(2KB)
----package-lock.json(346KB)
----src()
--------defaultCharacteristics.js(575B)
--------numeralsMap.js(1KB)
--------clock-components()
--------index.js(4KB)
--------index.html(25B)
--------index.css(1KB)
----webpack.config.js(930B)
----README.md(12KB)
----demo()
--------src()
----.npmignore(86B)
----.prettierrc(107B)