react-restyle-components 0.2.22 → 0.2.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,7 +13,7 @@ yarn add react-restyle-components
13
13
 
14
14
  https://appasaheb4.github.io/react-restyle-components
15
15
 
16
- ### Why we use this lib: 👉
16
+ ### Why we use this lib: 👇
17
17
 
18
18
  <img src="https://github.com/appasaheb4/react-restyle-components/blob/master/assets/img/libWapper.png">
19
19
 
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "author": {
@@ -4,7 +4,7 @@ Font.register({
4
4
  family: 'ArimaBold',
5
5
  fonts: [
6
6
  {
7
- src: require('/src/library/assets/fonts/arima/arima-bold.ttf'),
7
+ src: '../../../library/assets/fonts/arima/arima-bold.ttf',
8
8
  fontStyle: 'normal',
9
9
  fontWeight: 'bold',
10
10
  },
@@ -12,7 +12,7 @@ Font.register({
12
12
  });
13
13
  Font.register({
14
14
  family: 'ArimaRegular',
15
- src: require('/src/library/assets/fonts/arima/arima-regular.ttf'),
15
+ src: '../../../library/assets/fonts/arima/arima-regular.ttf',
16
16
  });
17
17
  export const PdfHeading = ({ fontWeight = 'bold', fontSize = 22, fontFamily = 'ArimaRegular', style, children, }) => {
18
18
  return (React.createElement(Text, { style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "author": {