Skip to content

Commit

Permalink
polish new filter features and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVandy committed Oct 12, 2023
1 parent c1e1163 commit 45d7aee
Show file tree
Hide file tree
Showing 26 changed files with 947 additions and 823 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,16 @@ export const columnOptions: ColumnOption[] = [
required: false,
type: 'IconButtonProps | ({ column, table }) => IconButtonProps',
},
{
columnOption: 'muiFilterAutocompleteProps',
defaultValue: '',
description: '',
link: 'https://mui.com/material-ui/api/autocomplete/#props',
linkText: 'MUI X DatePicker Props',
source: 'Material UI',
required: false,
type: 'AutocompleteProps | ({ column, rangeFilterIndex, table }) => AutocompleteProps',
},
{
columnOption: 'muiFilterCheckboxProps',
defaultValue: '',
Expand All @@ -487,7 +497,17 @@ export const columnOptions: ColumnOption[] = [
linkText: 'Material UI Checkbox Props',
source: 'Material UI',
required: false,
type: 'Checkbox | ({ column, table }) => CheckboxProps',
type: 'CheckboxProps | ({ column, table }) => CheckboxProps',
},
{
columnOption: 'muiFilterDatePickerProps',
defaultValue: '',
description: '',
link: 'https://mui.com/x/api/date-pickers/date-picker/',
linkText: 'MUI X DatePicker Props',
source: 'Material UI',
required: false,
type: 'DatePickerProps | ({ column, rangeFilterIndex, table }) => DatePickerProps',
},
{
columnOption: 'muiFilterSliderProps',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,16 @@ export const tableOptions: TableOption[] = [
source: 'Material UI',
type: 'IconButtonProps | ({table, column}) => IconButtonProps',
},
{
tableOption: 'muiFilterAutocompleteProps',
defaultValue: '',
description: '',
link: 'https://mui.com/material-ui/api/autocomplete/#props',
linkText: 'MUI X DatePicker Props',
source: 'Material UI',
required: false,
type: 'AutocompleteProps | ({ column, rangeFilterIndex, table }) => AutocompleteProps',
},
{
tableOption: 'muiFilterCheckboxProps',
defaultValue: '',
Expand All @@ -1250,6 +1260,16 @@ export const tableOptions: TableOption[] = [
source: 'Material UI',
type: 'CheckboxProps | ({ column, table}) => CheckboxProps',
},
{
tableOption: 'muiFilterDatePickerProps',
defaultValue: '',
description: '',
link: 'https://mui.com/x/api/date-pickers/date-picker/',
linkText: 'MUI X DatePicker Props',
source: 'Material UI',
required: false,
type: 'DatePickerProps | ({ column, rangeFilterIndex, table }) => DatePickerProps',
},
{
tableOption: 'muiFilterSliderProps',
defaultValue: '',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import { SourceCodeSnippet } from '../../components/mdx/SourceCodeSnippet';
import Example from './sandbox/src/TS';
const JS = require('!!raw-loader!./sandbox/src/JS.js').default;
Expand All @@ -10,7 +9,7 @@ const ExampleTable = () => {
Component={Example}
javaScriptCode={JS}
typeScriptCode={TS}
tableId="disable-column-filters"
tableId="alternate-column-filtering"
/>
);
};
Expand Down
Loading

0 comments on commit 45d7aee

Please sign in to comment.