import * as React from 'react';
import { mergeProps } from '../utils';
/**
* The `Toast` component is a rudimentary way to display a message to the user.
* This message should be short lived and not require user interaction.
* For example, displaying the current connection state like `ConnectionStateToast` does.
*
* @example
* ```tsx
* Connecting...
* ```
* @public
*/
export function Toast(props: React.HTMLAttributes) {
const htmlProps = React.useMemo(() => mergeProps(props, { className: 'lk-toast' }), [props]);
return {props.children}
;
}