import clsx from 'clsx';
// biome-ignore lint/style/useImportType: React is required in scope for the old JSX transform.
import React from 'react';

export type KintonePluginAlertProps = React.PropsWithChildren<{
  className?: string;
}>;

const KintonePluginAlert: React.FC<KintonePluginAlertProps> = (props) => {
  const { className, children } = props;
  return (
    <div className={clsx('kintoneplugin-alert', className)} role="alert">
      {children}
    </div>
  );
};
export default KintonePluginAlert;
