mirror of
https://github.com/wassname/talk.git
synced 2026-09-30 11:43:46 +08:00
Add children to types
This commit is contained in:
1 file changed
+3
@@ -15,6 +15,9 @@ interface InnerProps extends HTMLAttributes<HTMLSpanElement> {
|
||||
|
||||
size?: "sm" | "md" | "lg" | "xl";
|
||||
|
||||
/** The name of the icon to render */
|
||||
children: string;
|
||||
|
||||
/** ref to the HTMLIconElement */
|
||||
ref?: Ref<HTMLSpanElement>;
|
||||
|
||||
|
||||
Reference in new issue
Block a user