-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: optimize svg root prop handling, simplify element development
This change allows modifying the element code without causing it to load the native components more than once, making live-reload usable.
- Loading branch information
Showing
24 changed files
with
164 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { requireNativeComponent as rnc } from 'react-native'; | ||
|
||
export const RNSVGSvg = rnc('RNSVGSvgView'); | ||
export const RNSVGCircle = rnc('RNSVGCircle'); | ||
export const RNSVGClipPath = rnc('RNSVGClipPath'); | ||
export const RNSVGDefs = rnc('RNSVGDefs'); | ||
export const RNSVGEllipse = rnc('RNSVGEllipse'); | ||
export const RNSVGForeignObject = rnc('RNSVGForeignObject'); | ||
export const RNSVGGroup = rnc('RNSVGGroup'); | ||
export const RNSVGImage = rnc('RNSVGImage'); | ||
export const RNSVGLine = rnc('RNSVGLine'); | ||
export const RNSVGLinearGradient = rnc('RNSVGLinearGradient'); | ||
export const RNSVGMarker = rnc('RNSVGMarker'); | ||
export const RNSVGMask = rnc('RNSVGMask'); | ||
export const RNSVGPath = rnc('RNSVGPath'); | ||
export const RNSVGPattern = rnc('RNSVGPattern'); | ||
export const RNSVGRadialGradient = rnc('RNSVGRadialGradient'); | ||
export const RNSVGRect = rnc('RNSVGRect'); | ||
export const RNSVGSymbol = rnc('RNSVGSymbol'); | ||
export const RNSVGText = rnc('RNSVGText'); | ||
export const RNSVGTextPath = rnc('RNSVGTextPath'); | ||
export const RNSVGTSpan = rnc('RNSVGTSpan'); | ||
export const RNSVGUse = rnc('RNSVGUse'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.