@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Icon: abstact component to render SVG icons.
|
||||
* Icon: abstract component to render SVG icons.
|
||||
* @module soapbox/components/icon
|
||||
*/
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ interface IIconButton extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
||||
iconClassName?: string;
|
||||
/** URL to the svg icon. */
|
||||
src: string;
|
||||
/** Text to display next ot the button. */
|
||||
/** Text to display next to the button. */
|
||||
text?: string;
|
||||
/** Predefined styles to display for the button. */
|
||||
theme?: 'seamless' | 'outlined' | 'secondary' | 'transparent' | 'dark';
|
||||
|
||||
Reference in New Issue
Block a user