feat: Add reusable EnumSelector UI component (split from #6832) (#7774)

Co-authored-by: hoteye <hoteye@users.noreply.github.com>
Co-authored-by: cornmander <shikhman@google.com>
This commit is contained in:
Dylan liu
2025-09-10 05:45:12 +08:00
committed by GitHub
parent 8b40e000d6
commit da58b93026
4 changed files with 249 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`<EnumSelector /> > renders inactive state and matches snapshot 1`] = `"← 中文 (简体) →"`;
exports[`<EnumSelector /> > renders with numeric options and matches snapshot 1`] = `"← Medium →"`;
exports[`<EnumSelector /> > renders with single option and matches snapshot 1`] = `" Only Option"`;
exports[`<EnumSelector /> > renders with string options and matches snapshot 1`] = `"← English →"`;