@gitlab/ui
Version:
GitLab UI Components
12 lines (8 loc) • 692 B
JavaScript
import examples from './examples';
var description = "# Drawer\n\n<!-- STORY -->\n\n## Usage\n\nThe drawer is used to show more information about a certain resource in the UI and potentially\nhandle actions on the information.\n\n### By default\n\n```html\n<gl-drawer :open=\"open\" @close=\"close\">\n <template #header>Your Title</template>\n <template>\n ...children\n </template>\n</gl-drawer>\n```\n\n- `v-bind:open` will be a boolean you will pass to `gl-drawer` and `@close` is a listener that will\nbe a function that will toggle open to `false`.\n";
var drawer_documentation = {
followsDesignSystem: false,
description,
examples
};
export default drawer_documentation;