Some checks failed
Close stale issues and PRs / stale (push) Has been cancelled
18 lines
318 B
TypeScript
18 lines
318 B
TypeScript
import React from 'react';
|
|
import { SvgFromXml } from 'react-native-svg';
|
|
|
|
/**
|
|
* SVG rendering component.
|
|
*
|
|
* @returns {JSX.Element}
|
|
*/
|
|
const SvgXmlIcon = ({ src, ...rest }: {
|
|
src: string;
|
|
}): JSX.Element => (
|
|
<SvgFromXml
|
|
override = { rest }
|
|
xml = { src } />
|
|
);
|
|
|
|
export default SvgXmlIcon;
|