How to show image instead of bullets in react native html text?
up vote
0
down vote
favorite
I'm using react-native-htmlview to render html text this package gives a lot of customization options what I want to ask is how can I replace bullets with an image or may be a react-native-vector-icon component the library gives an option to replace bullet with a text string can I replace it with icon or image?
Any help would appreciated you may suggest some other light weight package that serve this purpose I also need please keep in mind that I want to apply styles based on the tags and my styles includes the custom font.
react-native
add a comment |
up vote
0
down vote
favorite
I'm using react-native-htmlview to render html text this package gives a lot of customization options what I want to ask is how can I replace bullets with an image or may be a react-native-vector-icon component the library gives an option to replace bullet with a text string can I replace it with icon or image?
Any help would appreciated you may suggest some other light weight package that serve this purpose I also need please keep in mind that I want to apply styles based on the tags and my styles includes the custom font.
react-native
I've never use it but I believe you can use react-native-render-html for your purpose. It seems like the package allows customization.
– esdoodle
Nov 8 at 12:13
I have used react-native-render-html didn't work for me, it throws error whenever I try to use tagsstyle props
– Ammar Tariq
Nov 8 at 12:57
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm using react-native-htmlview to render html text this package gives a lot of customization options what I want to ask is how can I replace bullets with an image or may be a react-native-vector-icon component the library gives an option to replace bullet with a text string can I replace it with icon or image?
Any help would appreciated you may suggest some other light weight package that serve this purpose I also need please keep in mind that I want to apply styles based on the tags and my styles includes the custom font.
react-native
I'm using react-native-htmlview to render html text this package gives a lot of customization options what I want to ask is how can I replace bullets with an image or may be a react-native-vector-icon component the library gives an option to replace bullet with a text string can I replace it with icon or image?
Any help would appreciated you may suggest some other light weight package that serve this purpose I also need please keep in mind that I want to apply styles based on the tags and my styles includes the custom font.
react-native
react-native
asked Nov 8 at 8:33
Ammar Tariq
608
608
I've never use it but I believe you can use react-native-render-html for your purpose. It seems like the package allows customization.
– esdoodle
Nov 8 at 12:13
I have used react-native-render-html didn't work for me, it throws error whenever I try to use tagsstyle props
– Ammar Tariq
Nov 8 at 12:57
add a comment |
I've never use it but I believe you can use react-native-render-html for your purpose. It seems like the package allows customization.
– esdoodle
Nov 8 at 12:13
I have used react-native-render-html didn't work for me, it throws error whenever I try to use tagsstyle props
– Ammar Tariq
Nov 8 at 12:57
I've never use it but I believe you can use react-native-render-html for your purpose. It seems like the package allows customization.
– esdoodle
Nov 8 at 12:13
I've never use it but I believe you can use react-native-render-html for your purpose. It seems like the package allows customization.
– esdoodle
Nov 8 at 12:13
I have used react-native-render-html didn't work for me, it throws error whenever I try to use tagsstyle props
– Ammar Tariq
Nov 8 at 12:57
I have used react-native-render-html didn't work for me, it throws error whenever I try to use tagsstyle props
– Ammar Tariq
Nov 8 at 12:57
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53203998%2fhow-to-show-image-instead-of-bullets-in-react-native-html-text%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I've never use it but I believe you can use react-native-render-html for your purpose. It seems like the package allows customization.
– esdoodle
Nov 8 at 12:13
I have used react-native-render-html didn't work for me, it throws error whenever I try to use tagsstyle props
– Ammar Tariq
Nov 8 at 12:57