Use single label type

This commit is contained in:
Jackson Harper
2022-04-10 18:10:03 -07:00
parent 19f4505943
commit e2aeff0c6f
10 changed files with 42 additions and 56 deletions

View File

@ -1,14 +1,4 @@
import React from "react";
import { Label } from "../../../lib/networking/queries/useGetLabelsQuery";
export type LabelColor =
| '#FF5D99'
| '#7CFF7B'
| '#FFD234'
| '#7BE4FF'
| '#CE88EF'
| '#EF8C43'
| 'custom color';
import { Label, LabelColor } from "../../../lib/networking/fragments/labelFragment";
export type LabelOptionProps = {
color: string;