API Reference
Placeholder for stuctural composition
<Slot>Content</Slot>
Parameters
props
- Type:
@vtex/shoreline-components.SlotProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>
Props
asChild
(optional)
Children composition
-
Type:
boolean
-
Default:
false
children
(optional)
Children prop
- Type:
@types/react.React.ReactNode
className
(optional)
ClassName used for styling
- Type:
string
name
(optional)
Optional slot label
- Type:
string
style
(optional)
Style property
- Type:
@types/react.React.CSSProperties