Skip to content

Commit 589c971

Browse files
committed
feat(native): re-export Path from react-native-svg
1 parent 4e5bc2a commit 589c971

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/native/ContentLoader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import * as React from 'react'
2-
import { Circle, Rect } from 'react-native-svg'
2+
import { Circle, Path, Rect } from 'react-native-svg'
33

44
import { Facebook, IContentLoaderProps } from '.'
55
import Svg from './Svg'
66

77
const ContentLoader: React.FC<IContentLoaderProps> = props =>
88
props.children ? <Svg {...props} /> : <Facebook {...props} />
99

10-
export { Circle, Rect }
10+
export { Circle, Rect, Path }
1111

1212
export default ContentLoader

src/native/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ export { default as Code } from './presets/CodeStyle'
1717
export { default as List } from './presets/ListStyle'
1818
export { default as BulletList } from './presets/BulletListStyle'
1919

20-
export { Circle, Rect } from './ContentLoader'
20+
export { Circle, Rect, Path } from './ContentLoader'
2121
export default ContentLoader

0 commit comments

Comments
 (0)