feat: add Number field preview in settings (#2397)

Closes #2327
This commit is contained in:
Thaïs
2023-11-09 08:30:37 +01:00
committed by GitHub
parent 1f5492b4a7
commit 28779f0fb8
5 changed files with 38 additions and 8 deletions

View File

@ -13,7 +13,7 @@ export const dataTypes: Record<
MetadataFieldDataType,
{ label: string; Icon: IconComponent; defaultValue?: unknown }
> = {
NUMBER: { label: 'Number', Icon: IconNumbers },
NUMBER: { label: 'Number', Icon: IconNumbers, defaultValue: 2000 },
TEXT: {
label: 'Text',
Icon: IconTextSize,