chore: update dependencies (#1543)
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { FunctionComponent, useRef, useState } from 'react'
|
||||
import { FunctionComponent, ReactNode, useRef, useState } from 'react'
|
||||
import { ArrowDownCheckmarkIcon } from '@standardnotes/icons'
|
||||
import { Title } from '@/Components/Preferences/PreferencesComponents/Content'
|
||||
|
||||
type Props = {
|
||||
title: string | JSX.Element
|
||||
className?: string
|
||||
children?: ReactNode
|
||||
}
|
||||
|
||||
const AccordionItem: FunctionComponent<Props> = ({ title, className = '', children }) => {
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { classNames } from '@/Utils/ConcatenateClassNames'
|
||||
import { Fragment, FunctionComponent } from 'react'
|
||||
import { Fragment, FunctionComponent, ReactNode } from 'react'
|
||||
|
||||
type Props = {
|
||||
className?: string
|
||||
children?: ReactNode
|
||||
}
|
||||
|
||||
const ModalDialogButtons: FunctionComponent<Props> = ({ children, className }) => (
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { FunctionComponent } from 'react'
|
||||
import { FunctionComponent, ReactNode } from 'react'
|
||||
import { AlertDialogDescription } from '@reach/alert-dialog'
|
||||
|
||||
type Props = {
|
||||
className?: string
|
||||
children?: ReactNode
|
||||
}
|
||||
|
||||
const ModalDialogDescription: FunctionComponent<Props> = ({ children, className = '' }) => (
|
||||
|
||||
@@ -7,6 +7,7 @@ type Props = {
|
||||
closeDialog: () => void
|
||||
className?: string
|
||||
headerButtons?: ReactNode
|
||||
children?: ReactNode
|
||||
}
|
||||
|
||||
const ModalDialogLabel: FunctionComponent<Props> = ({ children, closeDialog, className, headerButtons }) => (
|
||||
|
||||
Reference in New Issue
Block a user