API Reference
Allows the content to bleed into the external container
<Bleed top="$space-2" bottom="$space-2"> <Button>Text</Button> </Bleed>
Parameters
props
- Type:
@vtex/shoreline-components.BleedProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>
Props
bottom
(optional)
Bottom bleed
-
Type:
string
-
Default:
'$space-0'
end
(optional)
End bleed
-
Type:
string
-
Default:
'$space-0'
start
(optional)
Start bleed
-
Type:
string
-
Default:
'$space-0'
top
(optional)
Top bleed
-
Type:
string
-
Default:
'$space-0'