mirror of
https://github.com/prymitive/karma
synced 2026-05-19 04:26:41 +00:00
chore(ui): migrate more code to typescript
This commit is contained in:
committed by
Łukasz Mierzwa
parent
55170f8812
commit
4d4dd111c1
12
ui/src/Components/ValidationError/index.tsx
Normal file
12
ui/src/Components/ValidationError/index.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import React from "react";
|
||||
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faExclamationCircle } from "@fortawesome/free-solid-svg-icons/faExclamationCircle";
|
||||
|
||||
const ValidationError = () => (
|
||||
<span className="text-danger">
|
||||
<FontAwesomeIcon icon={faExclamationCircle} /> Required
|
||||
</span>
|
||||
);
|
||||
|
||||
export { ValidationError };
|
||||
Reference in New Issue
Block a user