@muraldevkit/ui-toolkit 2.53.0 → 2.54.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,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { MrlAvatarPropTypes } from '../../';
|
|
3
|
+
export interface MrlAvatarButtonPropTypes extends MrlAvatarPropTypes, React.HTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
/**
|
|
5
|
+
* An optional class name to add to button wrapping the MrlAvatar.
|
|
6
|
+
*/
|
|
7
|
+
buttonClassName?: string;
|
|
8
|
+
/**
|
|
9
|
+
* onClick event for the button.
|
|
10
|
+
*/
|
|
11
|
+
onClick?: (e: React.SyntheticEvent<HTMLButtonElement>) => void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Renders an avatar button
|
|
15
|
+
*
|
|
16
|
+
* @param {MrlAvatarButtonPropTypes} props the props for your MrlAvatarButton
|
|
17
|
+
* @returns {React.ReactElement} an avatar button containing the props you pass
|
|
18
|
+
*/
|
|
19
|
+
export declare const MrlAvatarButton: ({ buttonClassName, dataQa, onClick, size, ...rest }: MrlAvatarButtonPropTypes) => React.ReactElement;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MrlAvatarButton';
|