16 lines
573 B
Plaintext
16 lines
573 B
Plaintext
import { Canvas, Meta, ArgTypes, Primary, Source, Controls } from '@storybook/blocks';
|
|
|
|
import * as TotalsWrapperStories from '../stories/index.stories.tsx';
|
|
|
|
<Meta name="Docs" of={ TotalsWrapperStories } />
|
|
|
|
# TotalsWrapper
|
|
|
|
A wrapper to go around any items displayed in the "Totals" area of the Cart/Checkout blocks. Usually it comes with additional padding so the component rendered inside it doesn't need to add its own padding. If this is being used to wrap a Slot (for use in Slot/Fill patterns) then no padding will be applied.
|
|
|
|
<Primary />
|
|
|
|
### Props
|
|
|
|
<Controls />
|