mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-14 07:54:35 +00:00
28 lines
905 B
JavaScript
28 lines
905 B
JavaScript
export function showErrorCSS(name, type) {
|
|
throw Error(`[react-native-svg] You are trying to import a ${type} \`${name}\` that has been moved to a sub-package. Change your import from \`react-native-svg\` to \`react-native-svg/css\`.`);
|
|
}
|
|
export function SvgCss() {
|
|
showErrorCSS('SvgCss', 'component');
|
|
}
|
|
export function SvgCssUri() {
|
|
showErrorCSS('SvgCssUri', 'component');
|
|
}
|
|
export function SvgWithCss() {
|
|
showErrorCSS('SvgWithCss', 'component');
|
|
}
|
|
export function SvgWithCssUri() {
|
|
showErrorCSS('SvgWithCssUri', 'component');
|
|
}
|
|
export function inlineStyles() {
|
|
showErrorCSS('inlineStyles', 'function');
|
|
}
|
|
export function LocalSvg() {
|
|
showErrorCSS('LocalSvg', 'component');
|
|
}
|
|
export function WithLocalSvg() {
|
|
showErrorCSS('WithLocalSvg', 'component');
|
|
}
|
|
export function loadLocalRawResource() {
|
|
showErrorCSS('loadLocalRawResource', 'function');
|
|
}
|
|
//# sourceMappingURL=deprecated.js.map
|