MCPcopy Create free account
hub / github.com/adobe/react-spectrum / updateCalendar

Function updateCalendar

packages/dev/s2-docs/src/VisualExampleClient.tsx:1286–1291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1284 };
1285
1286 let updateCalendar = calendar => {
1287 let newLocale = new Intl.Locale(value, {
1288 calendar
1289 });
1290 onChange(newLocale.toString());
1291 };
1292
1293 let updateNumberingSystem = numberingSystem => {
1294 let newLocale = new Intl.Locale(value, {

Callers

nothing calls this directly

Calls 2

onChangeFunction · 0.70
toStringMethod · 0.65

Tested by

no test coverage detected