Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalfertheiner committed Nov 5, 2021
1 parent ea995fe commit f2296f9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/components/sectionFilter/SectionFilter.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import classNames from 'classnames'
import { Form, Formik, useFormikContext } from 'formik'
import {
ReactChildren,
ReactElement,
ReactNode,
useEffect,
useRef,
} from 'react'
import { ReactElement, ReactNode, useEffect, useRef } from 'react'
import { useMatchMediaQuery } from '@aboutbits/react-toolbox'
import { useTheme } from '../../framework'
import { ClassNameProps } from '../types'
Expand All @@ -33,7 +27,7 @@ type Props<T> = ClassNameProps & {
/**
* Input fields of your filter.
*/
children: ReactChildren
children: ReactNode
/**
* The dialog props are required, if you want to show the filter in form of a dialog on certain screen sizes.
*/
Expand Down

0 comments on commit f2296f9

Please sign in to comment.