chore: upgrade lexical & make linting/formatting consistent with web codebase (#2144)

This commit is contained in:
Aman Harwara
2023-01-11 14:34:14 +05:30
committed by GitHub
parent 573538031e
commit c24be606ad
76 changed files with 2404 additions and 3203 deletions

View File

@@ -6,26 +6,23 @@
*
*/
import './Dialog.css';
import './Dialog.css'
import {ReactNode} from 'react';
import { ReactNode } from 'react'
type Props = Readonly<{
'data-test-id'?: string;
children: ReactNode;
}>;
'data-test-id'?: string
children: ReactNode
}>
export function DialogButtonsList({children}: Props): JSX.Element {
return <div className="DialogButtonsList">{children}</div>;
export function DialogButtonsList({ children }: Props): JSX.Element {
return <div className="DialogButtonsList">{children}</div>
}
export function DialogActions({
'data-test-id': dataTestId,
children,
}: Props): JSX.Element {
export function DialogActions({ 'data-test-id': dataTestId, children }: Props): JSX.Element {
return (
<div className="DialogActions" data-test-id={dataTestId}>
{children}
</div>
);
)
}