import React, { Component } from 'react'; import './ValidationMessage.css'; export type ValidationMessageProps = { /** * Lets you pass the class names to be appended to this prop. */ className?: string; /** * Pass the CSS properties for the validation message. */ style?: React.CSSProperties; /** * Add child elements defined within a component. */ children: React.ReactNode; /** * Pass an ID that you can use for testing purposes. It is applied as a data attribute (data-test-id). */ testId?: string; /** * A new version of ValidationMessage. */ version?: 'v2' | 'v1'; }; export declare class ValidationMessage extends Component { render(): React.JSX.Element; } export default ValidationMessage;