+ Add TODO list. + Add lists style. + Add tables style. + Add cards style. + Add password input. * Generalize required field component. * Fix icon position in buttons. * Fix custom class of boxes.
6 lines
236 B
TypeScript
6 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>;
|
|
}
|