@muraldevkit/ui-toolkit 2.43.1 → 2.44.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.
@@ -7,6 +7,11 @@ export interface MrlTableRowProps extends React.ComponentPropsWithoutRef<'tr'> {
7
7
  * @default `${id}-mrl-table-row`
8
8
  */
9
9
  id?: string;
10
+ /**
11
+ *
12
+ * Custom click handler to be used for mouse and keyboard selection of table row
13
+ */
14
+ onClick?: (e: React.MouseEvent<HTMLElement> | React.KeyboardEvent) => void;
10
15
  }
11
16
  /**
12
17
  * MrlTableRow Component
@@ -14,4 +19,4 @@ export interface MrlTableRowProps extends React.ComponentPropsWithoutRef<'tr'> {
14
19
  * @param {MrlTableRowProps} props - MrlTableRow component props
15
20
  * @returns a table row element
16
21
  */
17
- export declare function MrlTableRow({ className, ...rest }: MrlTableRowProps): JSX.Element;
22
+ export declare function MrlTableRow({ className, onClick, ...rest }: MrlTableRowProps): JSX.Element;