chore: update dependencies (#1543)

This commit is contained in:
Aman Harwara
2022-09-14 02:42:25 +05:30
committed by GitHub
parent e7839cb141
commit 896bb22f64
60 changed files with 565 additions and 200 deletions

View File

@@ -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 }) => {

View File

@@ -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 }) => (

View File

@@ -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 = '' }) => (

View File

@@ -7,6 +7,7 @@ type Props = {
closeDialog: () => void
className?: string
headerButtons?: ReactNode
children?: ReactNode
}
const ModalDialogLabel: FunctionComponent<Props> = ({ children, closeDialog, className, headerButtons }) => (