chore: upgrade lexical & make linting/formatting consistent with web codebase (#2144)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user