@up-group-ui/react-controls
Version:
Up shared react controls
25 lines (24 loc) • 945 B
TypeScript
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;