skip to Main Content

Reactjs – Date Sorting with Prime React

I'm having issues sorting a datatable with prime react on the Date column. Here is my code <Column field="Date" header="Date" sortable={true} body={(rowData: any) => formatDate(rowData.Date)} /> And this is the function that creates a new date instance: export const formatDate…

VIEW QUESTION

Css – Tailwind classes cannot override the component library on the deployed app, but it does on localhost

I'm using tailwind css with prime react, this is my global.css: @tailwind base; @tailwind components; @tailwind utilities; @layer base { @import "primeicons/primeicons.css"; @import "./preflight.css"; @import "primereact/resources/primereact.min.css"; @import "./custom-theme.css"; /* Some other imports. */ } @layer components { /* Some imports…

VIEW QUESTION
Back To Top
Search