created:3/5/2021
updated:3/5/2021
loc
65
comments
25%
passed
4
coverage
0%
PageContainer
Page container component If the page is an MDX page, will display the MDX components. Otherwise, the page elements are passed as children
Name | Description | Default | |
---|---|---|---|
PageContainerOwnProps(3 properties) | |||
ref | ref to the page container component ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | - | |
variant | theme variant string | - | |
wrapper | inner wrapper container ComponentType<{}> | null | - | |
SpaceProps(28 properties) | |||
HTMLAttributes(44 properties) | |||
Attributes(2 properties) | |||
AriaAttributes(48 properties) | |||
DOMAttributes(161 properties) | |||
BoxOwnProps(2 properties) | |||
BackgroundColorProps(2 properties) | |||
OpacityProps(1 properties) |
41 commits
package | imports | peer |
---|---|---|
@component-controls/store ^3.15.0 | useCurrentDocument | |
react ^17.0.1 | useEffectforwardRefRefFCComponentType | * |
theme-ui ^0.8.4 | jsxBoxPropsBox |
file | imports |
---|---|
"../Container/Container" | |
"../utils/url" | getURL |