mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
Remove wrong ref prop
This commit is contained in:
@@ -28,9 +28,6 @@ interface InnerProps {
|
||||
className?: string;
|
||||
wrap?: boolean | "reverse";
|
||||
|
||||
/** Ref to the root element */
|
||||
ref?: Ref<HTMLDivElement>;
|
||||
|
||||
/** Internal: Forwarded Ref */
|
||||
forwardRef?: Ref<HTMLDivElement>;
|
||||
}
|
||||
|
||||
@@ -18,9 +18,6 @@ interface InnerProps extends HTMLAttributes<HTMLSpanElement> {
|
||||
/** The name of the icon to render */
|
||||
children: string;
|
||||
|
||||
/** ref to the HTMLIconElement */
|
||||
ref?: Ref<HTMLSpanElement>;
|
||||
|
||||
/** Internal: Forwarded Ref */
|
||||
forwardRef?: Ref<HTMLSpanElement>;
|
||||
}
|
||||
|
||||
@@ -15,9 +15,6 @@ interface InnerProps {
|
||||
className?: string;
|
||||
formatter?: Formatter;
|
||||
|
||||
/** Ref to the root element */
|
||||
ref?: Ref<HTMLDivElement>;
|
||||
|
||||
/** Internal: Forwarded Ref */
|
||||
forwardRef?: Ref<HTMLDivElement>;
|
||||
}
|
||||
|
||||
@@ -78,9 +78,6 @@ interface InnerProps extends HTMLAttributes<any> {
|
||||
*/
|
||||
variant?: Variant;
|
||||
|
||||
/** Ref to the root element */
|
||||
ref?: Ref<HTMLElement>;
|
||||
|
||||
/** Internal: Forwarded Ref */
|
||||
forwardRef?: Ref<HTMLElement>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user