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

Function clear

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

Source from the content-addressed store, hash-verified

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

Callers 1

DateTimeFormatControlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected