@up42/up-components 0.9.6 → 0.10.0

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.
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import type { SxProps, Theme } from '@mui/material';
3
+ export interface CopyButtonProps {
4
+ data: string;
5
+ tooltip?: string;
6
+ sx?: SxProps<Theme>;
7
+ }
8
+ /**
9
+ * Documentation: https://up-components.up42.dev/?path=/docs/patterns-copybutton
10
+ */
11
+ export declare const CopyButton: ({ data, tooltip, sx }: CopyButtonProps) => JSX.Element;
@@ -31,6 +31,7 @@ export { Tooltip, type TooltipProps } from './components/Tooltip/Tooltip';
31
31
  export { InfoCard, type InfoCardProps } from './components/InfoCard/InfoCard';
32
32
  export { Menu, MenuItem, type MenuProps, type MenuItemProps } from './components/Menu/Menu';
33
33
  export { ControlButton, type ControlButtonProps } from './components/ControlButton/ControlButton';
34
+ export { CopyButton, type CopyButtonProps } from './components/CopyButton/CopyButton';
34
35
  export { Popover, type PopoverProps } from './components/Popover/Popover';
35
36
  export { InfoPopover, type InfoPopoverProps } from './components/InfoPopover/InfoPopover';
36
37
  export { PageHeader, type PageHeaderProps } from './components/PageHeader/PageHeader';