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

Styles not working with nextjs #90

Open
slabworwide opened this issue Jan 20, 2025 · 0 comments
Open

Styles not working with nextjs #90

slabworwide opened this issue Jan 20, 2025 · 0 comments

Comments

@slabworwide
Copy link

slabworwide commented Jan 20, 2025

Dear Author, I am using nextjs tailwindcss app router and react-thermal-printer latest version. here `<Row left="Left content" right="Right content" />`  does not align contents left and right instead they are listed one below another. similarly instead of   `<Text bold={true} align="center">Invoice</Text>`, below works                                                                                                                               
                                                                                                                                                                                                                                                                                                        ```
<Text style={{ fontWeight: 'bold', textAlign: 'center' }}>  {invoiceData.header.title} </Text>                                                                             
                                                                                                                                                                                                                                                                    Why styles are not working, please advise.
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