import { HTMLAttributes, ReactNode } from 'react';
import { InputSize } from '../../@types/InputSize.js';
import { Props } from '../../@types/Props.js';
import { ThemeUserFeedback } from '../theme.js';
interface UserFeedbackProps extends Props, HTMLAttributes {
/**
* Size of feedback message and icon
*/
size?: InputSize;
children: ReactNode;
/**
* Partial or complete theme to override the component's colour palette.
* The sanctioned colours have been set out by the design system team.
* The colours which can be changed are:
*
* `textSuccess`
* `textError`
*
*/
theme?: Partial;
}
export type { UserFeedbackProps };