@@ -34,7 +34,7 @@ npm i @freakycoder/react-native-empty-state
34
34
## Import
35
35
36
36
``` jsx
37
- import MyComponent from " @freakycoder/react-native-empty-state" ;
37
+ import EmptyState from " @freakycoder/react-native-empty-state" ;
38
38
```
39
39
40
40
## Fundamental Usage
@@ -64,24 +64,27 @@ should work of the example project.
64
64
65
65
## Fundamentals
66
66
67
- | Property | Type | Default | Description |
68
- | ----------- | :----: | :-------: | --------------------- |
69
- | title | string | undefined | change the title |
70
- | description | string | undefined | change the descrition |
67
+ | Property | Type | Default | Description |
68
+ | ----------- | :----: | :-------: | ---------------------- |
69
+ | title | string | undefined | change the title |
70
+ | description | string | undefined | change the description |
71
71
72
72
## Customization (Optionals)
73
73
74
- | Property | Type | Default | Description |
75
- | -------------------- | :-------: | :-------: | ---------------------------------------------------------------------- |
76
- | enableButton | boolean | false | let you enable the button (must use it for button) |
77
- | onPress | function | undefined | set your own logic for the button functionality when it is pressed |
78
- | buttonText | string | undefined | change the button's text |
79
- | style | ViewStyle | default | set or override the style object for the main container |
80
- | buttonStyle | ViewStyle | default | set or override the style object for the button style |
81
- | titleTextStyle | TextStyle | default | set or override the style object for the title text style |
82
- | buttonTextStyle | TextStyle | default | set or override the style object for the button's text style |
83
- | descriptionTextStyle | TextStyle | default | set or override the style object for the description text style |
84
- | ImageComponent | Image | default | set your own component instead of default react-native Image component |
74
+ | Property | Type | Default | Description |
75
+ | ------------------------- | :--------: | :-------: | ---------------------------------------------------------------------- |
76
+ | enableButton | boolean | false | let you enable the button (must use it for button) |
77
+ | onPress | function | undefined | set your own logic for the button functionality when it is pressed |
78
+ | buttonText | string | undefined | change the button's text |
79
+ | style | ViewStyle | default | set or override the style object for the main container |
80
+ | buttonStyle | ViewStyle | default | set or override the style object for the button style |
81
+ | titleTextStyle | TextStyle | default | set or override the style object for the title text style |
82
+ | buttonTextStyle | TextStyle | default | set or override the style object for the button's text style |
83
+ | descriptionTextStyle | TextStyle | default | set or override the style object for the description text style |
84
+ | containerGlueStyle | ViewStyle | default | set or override the style object for the container glue style |
85
+ | descriptionContainerStyle | ViewStyle | default | set or override the style object for the description container style |
86
+ | imageStyle | ImageStyle | default | set or override the style object for the image style |
87
+ | ImageComponent | Image | default | set your own component instead of default react-native Image component |
85
88
86
89
## Future Plans
87
90
0 commit comments