Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Render custom inline + block React components #233

Open
Nases opened this issue Mar 11, 2021 · 0 comments
Open

Render custom inline + block React components #233

Nases opened this issue Mar 11, 2021 · 0 comments

Comments

@Nases
Copy link

Nases commented Mar 11, 2021

I've been trying to use my custom components on export.

const Bold = ({ children }) => {
  return (
    <Text style={styles.bold}>
      {children}
    </Text>
  )
}
inlineStyles: {
  BOLD: {element: <Bold />}
}

Any way to get this working?

@Nases Nases changed the title Render custom inline + block react components Render custom inline + block components Mar 11, 2021
@Nases Nases changed the title Render custom inline + block components Render custom inline + block React components Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant