Changing the dock position in the attributes panel will move it to the corresponding edge of the preview container.
`;
}
export const nuiDockPlayground: PlaygroundDefinition = {
tag: 'nui-dock',
label: 'Dock',
description:
'Navigation menu docked at the edge of the screen or a container.',
defaults: NUI_DOCK_DEFAULTS,
controls: CONTROLS,
renderPreview,
formatUsage: (props) => {
const { model: _model, ...usageProps } = props;
return formatUsageFromDefaults(
'nui-dock',
usageProps,
NUI_DOCK_DEFAULTS,
ATTRIBUTE_NAMES,
);
},
};