UNPKG

@up-group-ui/react-controls

Version:
25 lines (24 loc) 945 B
import React from 'react'; import { IconName } from '../../../Common/theming/icons'; import { MentorName } from '../../../Common/theming/mentors'; import { IllustrationName } from '../../../Common/theming/illustrations'; import { WithThemeProps } from '../../../Common/theming'; export interface SvgProps extends React.SVGProps<{}> { iconTitle?: string; iconName?: IconName | MentorName | IllustrationName; iconHtml?: string; dataFor?: string; } export interface SvgIconWrapperProps { className: string; color: string; height: any; width: any; dangerouslySetInnerHTML: any; dataFor?: string; children?: Array<React.ReactNode>; } export declare type UpSvgIconProps = SvgProps & React.HTMLProps<SVGSVGElement>; declare const UpSvgIcon: React.StatelessComponent<UpSvgIconProps & WithThemeProps>; export declare const UpSvgIconSparkles: React.StatelessComponent<UpSvgIconProps>; export default UpSvgIcon;