mirror of
https://github.com/wassname/talk.git
synced 2026-07-03 01:44:04 +08:00
Add children to types
This commit is contained in:
@@ -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