Closed angeloashmore closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 67.62%. Comparing base (
8c00747
) to head (8c9bbb9
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Types of changes
Description
This PR adds support for
@prismicio/client
'smapSliceZone()
to<SliceZone>
.mapSliceZone()
adds a__mapped
property used to detect mapped Slices.<SliceZone>
detects the__mapped
property and automatically spreads the Slice's properties as props. An unmapped Slice will continue to provide the standard{ slice, index, slices, context }
props.Example
Checklist:
š¦