@ultraviolet/plus 2.1.5 → 3.0.0-beta.1

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.
@@ -1,5 +1,5 @@
1
1
  import { Badge } from '@ultraviolet/ui';
2
- import type { ComponentProps, JSX, ReactNode } from 'react';
2
+ import type { ComponentProps, ElementType, ReactNode } from 'react';
3
3
  import type { PinUnPinType } from '../types';
4
4
  type ItemType = 'default' | 'pinned' | 'pinnedGroup';
5
5
  type ItemProps = {
@@ -70,7 +70,7 @@ type ItemProps = {
70
70
  * a non focusable element. This option allows you to choose the tag of the
71
71
  * item.
72
72
  */
73
- as?: keyof JSX.IntrinsicElements;
73
+ as?: ElementType;
74
74
  /**
75
75
  * Use this prop if you want to remove the expand behavior when the item
76
76
  * has sub items.