12 lines
345 B
TypeScript
12 lines
345 B
TypeScript
export { castRef } from './castRef/castRef';
|
|
export { genericMemo } from './genericMemo/genericMemo';
|
|
|
|
import type React from 'react';
|
|
|
|
/**
|
|
* Common props for any React element.
|
|
* Useful for forwarding props to dynamic components.
|
|
*/
|
|
export type ReactElementProps = React.HTMLAttributes<HTMLElement> &
|
|
React.AllHTMLAttributes<HTMLElement>;
|