mirror of
https://github.com/zhigang1992/react-content-loader.git
synced 2026-04-25 12:55:37 +08:00
Merge pull request #205 from danilowoz/feat/native-path-component
Feat/native path component
This commit is contained in:
1690
package-lock.json
generated
1690
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -62,7 +62,7 @@
|
||||
"@storybook/addon-notes": "5.2.8",
|
||||
"@storybook/addons": "5.2.8",
|
||||
"@storybook/react": "5.2.8",
|
||||
"@storybook/storybook-deployer": "^2.8.1",
|
||||
"@storybook/storybook-deployer": "^2.8.6",
|
||||
"@types/jest": "24.0.24",
|
||||
"@types/react": "16.9.17",
|
||||
"@types/react-dom": "16.9.4",
|
||||
@@ -75,7 +75,7 @@
|
||||
"babel-jest": "24.9.0",
|
||||
"babel-loader": "8.0.6",
|
||||
"bundlesize": "0.18.0",
|
||||
"commitizen": "4.0.3",
|
||||
"commitizen": "^4.1.2",
|
||||
"cz-conventional-changelog": "3.0.2",
|
||||
"eslint": "6.8.0",
|
||||
"eslint-plugin-jest": "23.1.1",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as React from 'react'
|
||||
import { Circle, Rect } from 'react-native-svg'
|
||||
import { Circle, Path, Rect } from 'react-native-svg'
|
||||
|
||||
import { Facebook, IContentLoaderProps } from '.'
|
||||
import Svg from './Svg'
|
||||
@@ -7,6 +7,6 @@ import Svg from './Svg'
|
||||
const ContentLoader: React.FC<IContentLoaderProps> = props =>
|
||||
props.children ? <Svg {...props} /> : <Facebook {...props} />
|
||||
|
||||
export { Circle, Rect }
|
||||
export { Circle, Rect, Path }
|
||||
|
||||
export default ContentLoader
|
||||
|
||||
@@ -17,5 +17,5 @@ export { default as Code } from './presets/CodeStyle'
|
||||
export { default as List } from './presets/ListStyle'
|
||||
export { default as BulletList } from './presets/BulletListStyle'
|
||||
|
||||
export { Circle, Rect } from './ContentLoader'
|
||||
export { Circle, Rect, Path } from './ContentLoader'
|
||||
export default ContentLoader
|
||||
|
||||
Reference in New Issue
Block a user