@@ -34,7 +34,7 @@ npm i @freakycoder/react-native-empty-state
3434## Import
3535
3636``` jsx
37- import MyComponent from " @freakycoder/react-native-empty-state" ;
37+ import EmptyState from " @freakycoder/react-native-empty-state" ;
3838```
3939
4040## Fundamental Usage
@@ -64,24 +64,27 @@ should work of the example project.
6464
6565## Fundamentals
6666
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 |
7171
7272## Customization (Optionals)
7373
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 |
8588
8689## Future Plans
8790
0 commit comments