frigate/web/src/components/config-form/sections/TimestampSection.tsx

20 lines
585 B
TypeScript
Raw Normal View History

// Timestamp Section Component
// Reusable for both global and camera-level timestamp_style settings
2026-01-23 19:04:50 +03:00
import { createConfigSection } from "./BaseSection";
export const TimestampSection = createConfigSection({
sectionPath: "timestamp_style",
2026-01-23 19:04:50 +03:00
i18nNamespace: "config/timestamp_style",
defaultConfig: {
fieldOrder: ["position", "format", "color", "thickness", "effect"],
fieldGroups: {
appearance: ["color", "thickness", "effect"],
},
hiddenFields: ["enabled_in_config"],
advancedFields: ["thickness", "effect"],
},
});
export default TimestampSection;