Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
fix(SelectableCard): children type (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthprost authored Aug 23, 2022
1 parent ab11ac9 commit ed7a7ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/SelectableCardField/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SelectableCard } from '@scaleway/ui'
import { FieldState } from 'final-form'
import React, { ComponentProps, ReactNode, useMemo } from 'react'
import React, { ComponentProps, useMemo } from 'react'
import { useField, useFormState } from 'react-final-form'
import pickValidators from '../../helpers/pickValidators'
import useValidation from '../../hooks/useValidation'
Expand All @@ -26,9 +26,10 @@ type SelectableCardFieldProps<
| 'showTick'
| 'type'
| 'id'
| 'children'
| 'name'
>
> & {
children?: ReactNode
name: string
required?: boolean
className?: string
Expand Down

0 comments on commit ed7a7ab

Please sign in to comment.