Skip to content

Commit a447fa1

Browse files
committed
Vincent-Hackathon: Frontend: ActionButton: Update description to also take react nodes
1 parent 0604b26 commit a447fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/common/ActionButton/ActionButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export type ButtonStyle = 'action' | 'menu';
2626

2727
export interface ActionButtonProps {
2828
/** A short description of the action. */
29-
description: string;
29+
description: string | React.ReactNode;
3030
/** Either a string icon, or imported icon. */
3131
icon: string | IconifyIcon;
3232
/** The action when it's activated. */

0 commit comments

Comments
 (0)