MCPcopy Create free account

hub / github.com/airbnb/babel-plugin-inline-react-svg / functions

Functions38 in github.com/airbnb/babel-plugin-inline-react-svg

↓ 4 callersFunctionassertReactImport
(result)
test/sanity.js:7
↓ 4 callersFunctionvalidateDefaultProps
(result)
test/sanity.js:17
↓ 3 callersFunctionapplyPlugin
(importIdentifier, importPath, path, state, isExport, exportFilename)
src/index.js:47
↓ 2 callersFunctionhyphenToCamel
(name)
src/camelize.js:1
↓ 2 callersFunctionisEssentialPlugin
(p)
src/optimize.js:9
↓ 1 callersFunctionbuildSvg
({ IS_EXPORT, EXPORT_FILENAME, SVG_NAME, SVG_CODE, SVG_DEFAULT_PROPS_CODE, })
src/index.js:22
↓ 1 callersFunctioncssToObj
(css)
src/cssToObj.js:1
↓ 1 callersFunctionescapeBraces
(raw)
src/escapeBraces.js:5
↓ 1 callersFunctionfileExistsWithCaseSync
(filepath)
src/fileExistsWithCaseSync.js:5
↓ 1 callersFunctionnamespaceToCamel
(namespace, name)
src/camelize.js:5
↓ 1 callersFunctionoptimize
(content, opts = {})
src/optimize.js:55
↓ 1 callersFunctionvalidateAndFix
(opts)
src/optimize.js:13
FunctionCallExpression
(path, state)
src/index.js:155
FunctionExportNamedDeclaration
(path, state)
src/index.js:169
FunctionImportDeclaration
(path, state)
src/index.js:163
FunctionJSXAttribute
({ node })
src/transformSvg.js:10
FunctionJSXOpeningElement
({ node: { name, attributes } })
src/transformSvg.js:61
FunctionMyFunctionIcon
()
test/fixtures/test-no-duplicate-react.jsx:3
FunctionMyFunctionIcon
()
test/fixtures/test-dynamic-require.jsx:7
FunctionMyFunctionIcon
()
test/fixtures/test-commented.jsx:3
FunctionMyFunctionIcon
()
test/fixtures/test-case-sensitive.jsx:4
FunctionMyFunctionIcon
()
test/fixtures/test-import.jsx:4
FunctionMyFunctionIcon
()
test/fixtures/test-import-read-file.jsx:4
FunctionMyFunctionIcon
()
test/fixtures/test-require.jsx:5
FunctionMyFunctionIcon
()
test/fixtures/test-no-react.jsx:3
FunctionMyFunctionIcon
()
test/fixtures/test-root-styled.jsx:3
FunctionMyFunctionIcon
()
test/fixtures/test-multiple-svg.jsx:5
Functionenter
(path, { file, opts, filename })
src/index.js:134
Functionexit
({ scope })
test/sanity.js:70
Functionpre
()
test/sanity.js:178
Methodrender
()
test/fixtures/test-dynamic-require.jsx:12
Methodrender
()
test/fixtures/test-commented.jsx:8
Methodrender
()
test/fixtures/test-case-sensitive.jsx:9
Methodrender
()
test/fixtures/test-import.jsx:9
Methodrender
()
test/fixtures/test-import-read-file.jsx:9
Methodrender
()
test/fixtures/test-require.jsx:10
Methodrender
()
test/fixtures/test-root-styled.jsx:8
Methodrender
()
test/fixtures/test-multiple-svg.jsx:10