Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Custom styles not working #59

Open
hashaaan opened this issue Aug 7, 2019 · 2 comments
Open

Custom styles not working #59

hashaaan opened this issue Aug 7, 2019 · 2 comments

Comments

@hashaaan
Copy link

hashaaan commented Aug 7, 2019

No description provided.

@hashaaan hashaaan changed the title Custom / Inline Styles not working Custom styles not working Aug 7, 2019
@hashaaan
Copy link
Author

hashaaan commented Aug 7, 2019

const styles = StyleSheet.flatten({
paragraph: {
color: "#000000",
fontSize: 12
},
link: {
color: "blue",
fontWeight: "bold"
}
});

let descCS = ""; // description contentState

const description = getRNDraftJSBlocks({
  contentState: descCS,
  customStyles: styles
});`

@ahmedfouad01099
Copy link

not working for me too

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants