Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:
The AppBoundary
component is designed to wrap your entire app.
Your app will be clamped at the boundarySize
and stay centered on the screen.
By default, it will clamp the width at the sizeXxl
option,
but can also be set to other the valid size options using the boundarySize
prop.
@deprecated this component is deprecated and will be removed in the next major version
First, you must install @bedrock-layout/css
.
yarn add @bedrock-layout/css
Then, you can import the entire CSS or just the component's CSS in your project:
import "@bedrock-layout/css/lib/bedrock-layout.min.css";
Optionally, you can install the package for your framework of choice (React.js, Solid.js) using your favorite package manager CLI:
yarn add @bedrock-layout/appboundary ## or yarn add @bedrock-layout/primitives
Then import the component in your project:
import { AppBoundary } from @bedrock-layout/appboundary // or import { AppBoundary } from '@bedrock-layout/primitives'
Name | Description | Default | Control |
---|---|---|---|
boundarySize | string | - | |
as | unknown | "div" |
The boundarySize
prop defines the boundary size of the content.
// React.js and Solid.js <AppBoundary boundarySize="xxLarge"> <App /> </AppBoundary>
Here are the possible values for boundarySize
by default: