@movable/ui 2.6.2 → 2.7.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.
- package/lib/index.d.ts +6 -0
- package/lib/index.mjs +485 -472
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -90,6 +90,10 @@ declare interface CommonDrawerProps extends DrawerProps_2 {
|
|
|
90
90
|
icon?: JSX.Element | OverridableComponent<SvgIconTypeMap<object, 'svg'>>;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
declare type CopiedValue = string | null;
|
|
94
|
+
|
|
95
|
+
declare type CopyFn = (text: string) => Promise<boolean>;
|
|
96
|
+
|
|
93
97
|
export declare function DemoComponent({ stringToDisplay }: DemoComponentProps): JSX_2.Element;
|
|
94
98
|
|
|
95
99
|
declare type DemoComponentProps = {
|
|
@@ -464,6 +468,8 @@ declare type PrimaryButtonType = ButtonProps & {
|
|
|
464
468
|
|
|
465
469
|
export declare function SnackbarActionButton({ closeSnackbar, label, ...buttonProps }: InkSnackbarActionButtonProps): JSX_2.Element;
|
|
466
470
|
|
|
471
|
+
export declare function useCopyToClipboard(): [CopiedValue, CopyFn];
|
|
472
|
+
|
|
467
473
|
declare type VariantType = 'page' | 'paper' | 'search' | 'data';
|
|
468
474
|
|
|
469
475
|
export declare function WorkflowLayout({ Header, children, sx, ...rest }: WorkflowLayoutProps): JSX_2.Element;
|