29 lines
664 B
TypeScript
29 lines
664 B
TypeScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
|
|
import './Dialog.css'
|
|
|
|
import { ReactNode } from 'react'
|
|
|
|
type Props = Readonly<{
|
|
'data-test-id'?: string
|
|
children: ReactNode
|
|
}>
|
|
|
|
export function DialogButtonsList({ children }: Props): JSX.Element {
|
|
return <div className="DialogButtonsList">{children}</div>
|
|
}
|
|
|
|
export function DialogActions({ 'data-test-id': dataTestId, children }: Props): JSX.Element {
|
|
return (
|
|
<div className="DialogActions" data-test-id={dataTestId}>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|