Core/src/Components/Forms/RequiredField.tsx
Madeorsk 6acbf75ed7
TODO list, lists, tables, cards, icon in button, password input, required fields generalization.
+ 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.
2024-06-09 09:22:32 +02:00

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>;
}