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