/**
* Modern Skin component using React.createContext() Selector
*/
import Selector from "../options/Selector";
import { SkinOption } from "../options";
import { withOptionValue } from '../utils/optionValue';
export interface Props {
maskID: string;
}
function makeColor(name: string, color: string) {
function ColorComponent({ maskID }: Props) {
return (
);
}
return withOptionValue(ColorComponent, name);
}
export const Tanned = makeColor("Tanned", "#FD9841");
export const Yellow = makeColor("Yellow", "#F8D25C");
export const Pale = makeColor("Pale", "#FFDBB4");
export const Light = makeColor("Light", "#EDB98A");
export const Brown = makeColor("Brown", "#D08B5B");
export const DarkBrown = makeColor("DarkBrown", "#AE5D29");
export const Black = makeColor("Black", "#614335");
export default function Skin({ maskID }: Props) {
return (
);
}