@pantheon-systems/pds-toolkit-react 1.0.0-beta.8 → 1.0.0-beta.9
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,6 +1,5 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { SitePlanLevel, SiteType } from '../../libs/types/custom-types';
|
|
3
|
-
import { PopoverProps } from '../Popover/Popover';
|
|
4
3
|
import './site-dashboard-heading.css';
|
|
5
4
|
/**
|
|
6
5
|
* Prop types for SiteDashboardHeading
|
|
@@ -43,9 +42,11 @@ export interface SiteDashboardHeadingProps extends ComponentPropsWithoutRef<'div
|
|
|
43
42
|
*/
|
|
44
43
|
siteType?: SiteType;
|
|
45
44
|
/**
|
|
46
|
-
* Additional props to pass to the trigger component.
|
|
45
|
+
* Additional props to pass to the trigger component. Accepts any HTML div attributes.
|
|
47
46
|
*/
|
|
48
|
-
triggerProps?:
|
|
47
|
+
triggerProps?: ComponentPropsWithoutRef<'div'> & {
|
|
48
|
+
[key: `data-${string}`]: string | undefined;
|
|
49
|
+
};
|
|
49
50
|
/**
|
|
50
51
|
* Label for the upgrade button.
|
|
51
52
|
*/
|