Small changes.

This commit is contained in:
Daniel
2023-02-25 07:52:33 +03:30
parent 9b53608097
commit f3e104aafe
3 changed files with 17 additions and 8 deletions
+4 -2
View File
@@ -1,7 +1,8 @@
import React, { useState } from "react";
import CollectionSelection from "./InputSelect/CollectionSelection";
import TagSelection from "./InputSelect/TagSelection";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faPlus } from "@fortawesome/free-solid-svg-icons";
interface NewLink {
name: string;
url: string;
@@ -90,9 +91,10 @@ export default function () {
</div>
<div
className="mx-auto mt-2 bg-sky-500 text-white py-2 px-5 rounded select-none font-bold cursor-pointer duration-100 hover:bg-sky-400"
className="mx-auto mt-2 bg-sky-500 text-white flex items-center gap-2 py-2 px-5 rounded select-none font-bold cursor-pointer duration-100 hover:bg-sky-400"
onClick={() => postLink()}
>
<FontAwesomeIcon icon={faPlus} className="h-5" />
Add Link
</div>
</div>