@thecb/components 7.1.3-beta.1 → 7.1.3-beta.2

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/dist/index.d.ts CHANGED
@@ -187,8 +187,7 @@ interface ExternalLinkProps {
187
187
  }
188
188
 
189
189
  declare const ExternalLink: React.FC<Expand<ExternalLinkProps> &
190
- React.HTMLAttributes<HTMLElement> &
191
- React.Ref<HTMLLinkElement>>;
190
+ React.HTMLAttributes<HTMLElement> & { ref?: React.Ref<HTMLLinkElement> }>;
192
191
 
193
192
  interface InternalLinkProps {
194
193
  to: string;
@@ -205,8 +204,7 @@ interface InternalLinkProps {
205
204
  }
206
205
 
207
206
  declare const InternalLink: React.FC<Expand<InternalLinkProps> &
208
- React.HTMLAttributes<HTMLElement> &
209
- React.Ref<HTMLLinkElement>>;
207
+ React.HTMLAttributes<HTMLElement> & { ref?: React.Ref<HTMLLinkElement> }>;
210
208
 
211
209
  interface NavFooterProps {
212
210
  leftContent?: JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.1.3-beta.1",
3
+ "version": "7.1.3-beta.2",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -15,5 +15,4 @@ export interface ExternalLinkProps {
15
15
  }
16
16
 
17
17
  export const ExternalLink: React.FC<Expand<ExternalLinkProps> &
18
- React.HTMLAttributes<HTMLElement> &
19
- React.Ref<HTMLLinkElement>>;
18
+ React.HTMLAttributes<HTMLElement> & { ref?: React.Ref<HTMLLinkElement> }>;
@@ -16,5 +16,4 @@ export interface InternalLinkProps {
16
16
  }
17
17
 
18
18
  export const InternalLink: React.FC<Expand<InternalLinkProps> &
19
- React.HTMLAttributes<HTMLElement> &
20
- React.Ref<HTMLLinkElement>>;
19
+ React.HTMLAttributes<HTMLElement> & { ref?: React.Ref<HTMLLinkElement> }>;