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
dateColumn
example/src/App.tsx
type Row = { active: boolean firstName: string | null lastName: string | null date: Date | null } function App() { const [data, setData] = useState<Row[]>([ { active: true, firstName: 'Elon', lastName: 'Musk', date: new Date() }, { active: false, firstName: 'Jeff', lastName: 'Bezos', date: new Date() }, ]) const columns: Column<Row>[] = [ { ...keyColumn<Row, 'active'>('active', checkboxColumn), title: 'Active', grow: 0.5, }, { ...keyColumn<Row, 'firstName'>('firstName', textColumn), title: 'First name', }, { ...keyColumn<Row, 'lastName'>('lastName', textColumn), title: 'Last name', grow: 2, }, { ...keyColumn<Row, 'date'>('date', dateColumn), title: 'Date', grow: 2, }, ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the Issue
dateColumn
isn't consistent with the rest.To Reproduce
example/src/App.tsx
The text was updated successfully, but these errors were encountered: