maia.component-library / CalendarGridHeaderProps
Interface: CalendarGridHeaderProps
Defined in: node_modules/.pnpm/@heroui+react@3.2.1_@react-_0c36d9022f1aaf46c104e0a6d2192bf4/node_modules/@heroui/react/dist/components/calendar/calendar.d.ts:44
Extends
ComponentPropsWithRef<typeofCalendarGridHeaderPrimitive>
Properties
children
children: (
day) =>ReactElement
Defined in: node_modules/.pnpm/react-aria-components@1.18._652bbfc7b5fa5f84b16cd32a1196785b/node_modules/react-aria-components/dist/types/src/Calendar.d.ts:227
A function to render a <CalendarHeaderCell> for a weekday name.
Parameters
day
string
Returns
ReactElement
Inherited from
ComponentPropsWithRef.children
className?
optionalclassName?:string
Defined in: node_modules/.pnpm/react-aria-components@1.18._652bbfc7b5fa5f84b16cd32a1196785b/node_modules/react-aria-components/dist/types/src/Calendar.d.ts:225
The CSS className for the element.
Default
'react-aria-CalendarGridHeader'Inherited from
ComponentPropsWithRef.className
dir?
optionaldir?:string
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:299
Inherited from
ComponentPropsWithRef.dir
hidden?
optionalhidden?:boolean
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:301
Inherited from
ComponentPropsWithRef.hidden
inert?
optionalinert?:boolean
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:302
Inherited from
ComponentPropsWithRef.inert
key?
optionalkey?:Key|null
Defined in: node_modules/.pnpm/@types+react@19.2.17/node_modules/@types/react/index.d.ts:259
Inherited from
ComponentPropsWithRef.key
lang?
optionallang?:string
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:300
Inherited from
ComponentPropsWithRef.lang
onAnimationEnd?
optionalonAnimationEnd?:AnimationEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:382
Inherited from
ComponentPropsWithRef.onAnimationEnd
onAnimationEndCapture?
optionalonAnimationEndCapture?:AnimationEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:383
Inherited from
ComponentPropsWithRef.onAnimationEndCapture
onAnimationIteration?
optionalonAnimationIteration?:AnimationEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:384
Inherited from
ComponentPropsWithRef.onAnimationIteration
onAnimationIterationCapture?
optionalonAnimationIterationCapture?:AnimationEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:385
Inherited from
ComponentPropsWithRef.onAnimationIterationCapture
onAnimationStart?
optionalonAnimationStart?:AnimationEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:380
Inherited from
ComponentPropsWithRef.onAnimationStart
onAnimationStartCapture?
optionalonAnimationStartCapture?:AnimationEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:381
Inherited from
ComponentPropsWithRef.onAnimationStartCapture
onAuxClick?
optionalonAuxClick?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:322
Inherited from
ComponentPropsWithRef.onAuxClick
onAuxClickCapture?
optionalonAuxClickCapture?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:323
Inherited from
ComponentPropsWithRef.onAuxClickCapture
onClick?
optionalonClick?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:320
Inherited from
ComponentPropsWithRef.onClick
onClickCapture?
optionalonClickCapture?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:321
Inherited from
ComponentPropsWithRef.onClickCapture
onContextMenu?
optionalonContextMenu?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:324
Inherited from
ComponentPropsWithRef.onContextMenu
onContextMenuCapture?
optionalonContextMenuCapture?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:325
Inherited from
ComponentPropsWithRef.onContextMenuCapture
onDoubleClick?
optionalonDoubleClick?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:326
Inherited from
ComponentPropsWithRef.onDoubleClick
onDoubleClickCapture?
optionalonDoubleClickCapture?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:327
Inherited from
ComponentPropsWithRef.onDoubleClickCapture
onGotPointerCapture?
optionalonGotPointerCapture?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:366
Inherited from
ComponentPropsWithRef.onGotPointerCapture
onGotPointerCaptureCapture?
optionalonGotPointerCaptureCapture?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:367
Inherited from
ComponentPropsWithRef.onGotPointerCaptureCapture
onLostPointerCapture?
optionalonLostPointerCapture?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:368
Inherited from
ComponentPropsWithRef.onLostPointerCapture
onLostPointerCaptureCapture?
optionalonLostPointerCaptureCapture?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:369
Inherited from
ComponentPropsWithRef.onLostPointerCaptureCapture
onMouseDown?
optionalonMouseDown?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:328
Inherited from
ComponentPropsWithRef.onMouseDown
onMouseDownCapture?
optionalonMouseDownCapture?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:329
Inherited from
ComponentPropsWithRef.onMouseDownCapture
onMouseEnter?
optionalonMouseEnter?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:330
Inherited from
ComponentPropsWithRef.onMouseEnter
onMouseLeave?
optionalonMouseLeave?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:331
Inherited from
ComponentPropsWithRef.onMouseLeave
onMouseMove?
optionalonMouseMove?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:332
Inherited from
ComponentPropsWithRef.onMouseMove
onMouseMoveCapture?
optionalonMouseMoveCapture?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:333
Inherited from
ComponentPropsWithRef.onMouseMoveCapture
onMouseOut?
optionalonMouseOut?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:334
Inherited from
ComponentPropsWithRef.onMouseOut
onMouseOutCapture?
optionalonMouseOutCapture?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:335
Inherited from
ComponentPropsWithRef.onMouseOutCapture
onMouseOver?
optionalonMouseOver?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:336
Inherited from
ComponentPropsWithRef.onMouseOver
onMouseOverCapture?
optionalonMouseOverCapture?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:337
Inherited from
ComponentPropsWithRef.onMouseOverCapture
onMouseUp?
optionalonMouseUp?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:338
Inherited from
ComponentPropsWithRef.onMouseUp
onMouseUpCapture?
optionalonMouseUpCapture?:MouseEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:339
Inherited from
ComponentPropsWithRef.onMouseUpCapture
onPointerCancel?
optionalonPointerCancel?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:358
Inherited from
ComponentPropsWithRef.onPointerCancel
onPointerCancelCapture?
optionalonPointerCancelCapture?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:359
Inherited from
ComponentPropsWithRef.onPointerCancelCapture
onPointerDown?
optionalonPointerDown?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:352
Inherited from
ComponentPropsWithRef.onPointerDown
onPointerDownCapture?
optionalonPointerDownCapture?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:353
Inherited from
ComponentPropsWithRef.onPointerDownCapture
onPointerEnter?
optionalonPointerEnter?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:360
Inherited from
ComponentPropsWithRef.onPointerEnter
onPointerLeave?
optionalonPointerLeave?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:361
Inherited from
ComponentPropsWithRef.onPointerLeave
onPointerMove?
optionalonPointerMove?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:354
Inherited from
ComponentPropsWithRef.onPointerMove
onPointerMoveCapture?
optionalonPointerMoveCapture?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:355
Inherited from
ComponentPropsWithRef.onPointerMoveCapture
onPointerOut?
optionalonPointerOut?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:364
Inherited from
ComponentPropsWithRef.onPointerOut
onPointerOutCapture?
optionalonPointerOutCapture?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:365
Inherited from
ComponentPropsWithRef.onPointerOutCapture
onPointerOver?
optionalonPointerOver?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:362
Inherited from
ComponentPropsWithRef.onPointerOver
onPointerOverCapture?
optionalonPointerOverCapture?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:363
Inherited from
ComponentPropsWithRef.onPointerOverCapture
onPointerUp?
optionalonPointerUp?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:356
Inherited from
ComponentPropsWithRef.onPointerUp
onPointerUpCapture?
optionalonPointerUpCapture?:PointerEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:357
Inherited from
ComponentPropsWithRef.onPointerUpCapture
onScroll?
optionalonScroll?:UIEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:372
Inherited from
ComponentPropsWithRef.onScroll
onScrollCapture?
optionalonScrollCapture?:UIEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:373
Inherited from
ComponentPropsWithRef.onScrollCapture
onTouchCancel?
optionalonTouchCancel?:TouchEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:342
Inherited from
ComponentPropsWithRef.onTouchCancel
onTouchCancelCapture?
optionalonTouchCancelCapture?:TouchEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:343
Inherited from
ComponentPropsWithRef.onTouchCancelCapture
onTouchEnd?
optionalonTouchEnd?:TouchEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:344
Inherited from
ComponentPropsWithRef.onTouchEnd
onTouchEndCapture?
optionalonTouchEndCapture?:TouchEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:345
Inherited from
ComponentPropsWithRef.onTouchEndCapture
onTouchMove?
optionalonTouchMove?:TouchEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:346
Inherited from
ComponentPropsWithRef.onTouchMove
onTouchMoveCapture?
optionalonTouchMoveCapture?:TouchEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:347
Inherited from
ComponentPropsWithRef.onTouchMoveCapture
onTouchStart?
optionalonTouchStart?:TouchEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:348
Inherited from
ComponentPropsWithRef.onTouchStart
onTouchStartCapture?
optionalonTouchStartCapture?:TouchEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:349
Inherited from
ComponentPropsWithRef.onTouchStartCapture
onTransitionCancel?
optionalonTransitionCancel?:TransitionEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:388
Inherited from
ComponentPropsWithRef.onTransitionCancel
onTransitionCancelCapture?
optionalonTransitionCancelCapture?:TransitionEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:389
Inherited from
ComponentPropsWithRef.onTransitionCancelCapture
onTransitionEnd?
optionalonTransitionEnd?:TransitionEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:390
Inherited from
ComponentPropsWithRef.onTransitionEnd
onTransitionEndCapture?
optionalonTransitionEndCapture?:TransitionEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:391
Inherited from
ComponentPropsWithRef.onTransitionEndCapture
onTransitionRun?
optionalonTransitionRun?:TransitionEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:392
Inherited from
ComponentPropsWithRef.onTransitionRun
onTransitionRunCapture?
optionalonTransitionRunCapture?:TransitionEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:393
Inherited from
ComponentPropsWithRef.onTransitionRunCapture
onTransitionStart?
optionalonTransitionStart?:TransitionEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:394
Inherited from
ComponentPropsWithRef.onTransitionStart
onTransitionStartCapture?
optionalonTransitionStartCapture?:TransitionEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:395
Inherited from
ComponentPropsWithRef.onTransitionStartCapture
onWheel?
optionalonWheel?:WheelEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:376
Inherited from
ComponentPropsWithRef.onWheel
onWheelCapture?
optionalonWheelCapture?:WheelEventHandler<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:377
Inherited from
ComponentPropsWithRef.onWheelCapture
ref?
optionalref?:Ref<HTMLTableSectionElement>
Defined in: node_modules/.pnpm/@types+react@19.2.17/node_modules/@types/react/index.d.ts:301
Allows getting a ref to the component instance. Once the component unmounts, React will set ref.current to null (or call the ref with null if you passed a callback ref).
See
Inherited from
ComponentPropsWithRef.ref
render?
optionalrender?:DOMRenderFunction<"thead",undefined>
Defined in: node_modules/.pnpm/react-aria-components@1.18._652bbfc7b5fa5f84b16cd32a1196785b/node_modules/react-aria-components/dist/types/src/utils.d.ts:194
Overrides the default DOM element with a custom render function. This allows rendering existing components with built-in styles and behaviors such as router links, animation libraries, and pre-styled components.
Requirements:
- You must render the expected element type (e.g. if
<button>is expected, you cannot render an<a>). - Only a single root DOM element can be rendered (no fragments).
- You must pass through props and ref to the underlying DOM element, merging with your own prop as appropriate.
Inherited from
ComponentPropsWithRef.render
style?
optionalstyle?:CSSProperties
Defined in: node_modules/.pnpm/react-aria-components@1.18._652bbfc7b5fa5f84b16cd32a1196785b/node_modules/react-aria-components/dist/types/src/utils.d.ts:96
The inline style for the element.
Inherited from
ComponentPropsWithRef.style
translate?
optionaltranslate?:"yes"|"no"
Defined in: node_modules/.pnpm/@react-types+shared@3.35.0_react@19.2.7/node_modules/@react-types/shared/src/dom.d.ts:303
Inherited from
ComponentPropsWithRef.translate