Core/src/Components/Forms/RequiredField.tsx

7 lines
236 B
TypeScript
Raw Normal View History

import React from "react";
export function RequiredField({className, ...props}: React.HTMLAttributes<HTMLSpanElement>): React.ReactElement
{
return <span className={`required${className ? ` ${className}` : ""}`} {...props}></span>;
}