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

Function updateCalendar

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

Source from the content-addressed store, hash-verified

1301 };
1302
1303 let updateCalendar = calendar => {
1304 let newLocale = new Intl.Locale(value, {
1305 calendar
1306 });
1307 onChange(newLocale.toString());
1308 };
1309
1310 let updateNumberingSystem = numberingSystem => {
1311 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