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

Function clear

packages/dev/s2-docs/src/VisualExampleClient.tsx:1083–1083  ·  view source on GitHub ↗
(v: any)

Source from the content-addressed store, hash-verified

1081
1082function DateTimeFormatControl({control, value, onChange}: ControlProps) {
1083 let clear = (v: any) => (v === 'short' ? undefined : v);
1084 return (
1085 <Picker
1086 label={control.name}

Callers 1

DateTimeFormatControlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected