@bouko/react 2.6.7 → 2.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,4 +9,4 @@ type Props = {
9
9
  * @param {number} x - The time to display (ms).
10
10
  **/
11
11
  export declare const Timestamp: ({ ms, sec, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
12
- export {};
12
+ export default Timestamp;
@@ -7,3 +7,4 @@ import { mmSS } from "@bouko/ts";
7
7
  * @param {number} x - The time to display (ms).
8
8
  **/
9
9
  export const Timestamp = ({ ms, sec, ...props }) => (_jsx(Badge, { style: "font-mono", color: "--color-background-dark", ...props, children: mmSS(ms ? ms : sec ? sec * 1000 : 0) }));
10
+ export default Timestamp;
@@ -1,3 +1,4 @@
1
+ export { default as Timestamp } from "./audio/timestamp";
1
2
  export { default as Separator } from "./layout/separator";
2
3
  export { default as FadeBox } from "./layout/fade";
3
4
  export { default as AbsoluteBox } from "./layout/absolute";
@@ -1,3 +1,4 @@
1
+ export { default as Timestamp } from "./audio/timestamp";
1
2
  export { default as Separator } from "./layout/separator";
2
3
  export { default as FadeBox } from "./layout/fade";
3
4
  export { default as AbsoluteBox } from "./layout/absolute";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
 
3
3
  "name": "@bouko/react",
4
- "version": "2.6.7",
4
+ "version": "2.6.8",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "MIT",