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

17 lines
486 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: {
2026-01-29 19:07:31 +03:00
fieldOrder: ["position", "format", "color", "thickness"],
2026-01-29 23:58:13 +03:00
hiddenFields: ["effect", "enabled_in_config"],
2026-01-29 19:07:31 +03:00
advancedFields: [],
2026-01-23 19:04:50 +03:00
},
});
export default TimestampSection;