We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi im using this component, works awesome, but how add class for tailwindcss? im amateur in react
The text was updated successfully, but these errors were encountered:
if you are using css-in-js via twin.macro you can do something like this:
import tw, { css, styled } from 'twin.macro'; const StyledPagination = styled.nav(() => [ css` .pagination { /* your styles here */ }
<StyledPagination aria-label="Pagination"> <LaravelPagination data={data} options={paginationOptions}/> </StyledPagination>
otherwise if you are using Tailwind (following their docs) you will need to include a style sheet with your applied styles i.e.
// in your index.js import pagination-styles.css;
and
/* pagination-styles.css */ .pagination { @apply /* tailwind classes here */ }
Sorry, something went wrong.
No branches or pull requests
Hi im using this component, works awesome, but how add class for tailwindcss? im amateur in react
The text was updated successfully, but these errors were encountered: