Updated channel editor & fixes

This commit is contained in:
Sacha Weatherstone
2021-10-27 07:17:50 +11:00
parent 8a9c0a268a
commit 672d23d19c
27 changed files with 530 additions and 249 deletions
+13
View File
@@ -0,0 +1,13 @@
import React from 'react';
export interface LabelProps {
label: string;
error?: string;
}
export const Label = ({ label, error }: LabelProps): JSX.Element => (
<label className="text-xs font-semibold text-gray-500">
{label}
{error && <span className="ml-2 text-red-500">{error}</span>}
</label>
);