❗️ = breaking change
propTypes
were removed. If you’re using propTypes
, we recommend migrating to TypeScript or another type-checking solution.Published by wojtekmaj 11 months ago
Published by wojtekmaj about 1 year ago
Published by wojtekmaj about 1 year ago
Published by wojtekmaj about 1 year ago
useMillisecondPrecision
prop. Thanks, @arcataroger!@types/react
and @types/react-dom
are now optional peerDependencies, which eliminates errors caused by duplicate typings.Published by wojtekmaj over 1 year ago
ClockProps
type is now exported for your convenience.clsx
dependency to 2.0.0
to enable ESM support in the near future.Published by wojtekmaj over 1 year ago
className
and value
props unnecessarily too restrictive.Published by wojtekmaj over 1 year ago
size
values.Published by wojtekmaj almost 2 years ago
Note: React <16.8 is not supported. If you're still using React older than 16.8, please use react-clock@^3.0.0 instead.
❗️ = breaking change
merge-class-names
with clsx
.❗️ = breaking change
❗️ = breaking change
./dist
category.babel-preset-es2015
with babel-preset-env
.