@thecb/components 8.2.0-beta.4 → 8.2.0-beta.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "8.2.0-beta.4",
3
+ "version": "8.2.0-beta.6",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -1,4 +1,5 @@
1
- import React, { HTMLAttributes } from "react";
1
+ import React from "react";
2
+ import Expand from "../../../util/expand";
2
3
 
3
4
  export interface BadgeProps {
4
5
  label: string;
@@ -6,4 +7,4 @@ export interface BadgeProps {
6
7
  iconOnLeft?: boolean;
7
8
  }
8
9
 
9
- export const Badge: React.FC<Expand<BadgeProps> & HTMLAttributes<HTMLElement>>;
10
+ export const Badge: React.FC<Expand<BadgeProps> & JSX.Element>;