silverwolf-x's picture
download
raw
523 Bytes
import { Field, SelectField } from "payload/types";
import deepMerge from "../utilities/deepMerge";
type Args = {
overrides?: Partial<SelectField>;
};
export const backgroundColor = ({ overrides = {} }: Args): Field =>
deepMerge(
{
name: "backgroundColor",
type: "select",
defaultValue: "white",
options: [
{
label: "White",
value: "white",
},
{
label: "Black",
value: "black",
},
],
},
overrides,
);

Xet Storage Details

Size:
523 Bytes
·
Xet hash:
238e9c48103f2fdf2bd801a1ca5244adbd63f6fc107e0783d8d5dfc7af60b287

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.