theluyuan 38ba663466
Some checks failed
Close stale issues and PRs / stale (push) Has been cancelled
init
2025-09-02 14:49:16 +08:00

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;