UNPKG

@gitlab/ui

Version:
29 lines (25 loc) 1.03 kB
import examples from './examples'; var description = "### Buttons\n\nYou can either have a primary button, a secondary button, or both.\nButtons require both text a link in order for the button to render.\n"; var empty_state_documentation = { description: description, examples: examples, propsInfo: { svgPath: { additionalInfo: "The illustration's URL." }, svgHeight: { additionalInfo: "The illustration's height used to prevent content reflow." }, compact: { additionalInfo: 'Set to true to enable the compact layout.' } }, slots: [{ name: 'description', description: "Use this slot to customize the empty state's description area. Overrides the `description` prop." }, { name: 'actions', description: "Use this slot to customize the empty state's actions area, where the buttons are. Overrides button-related props: `primaryButtonLink`, `primaryButtonText`, `secondaryButtonLink`, `secondaryButtonText`." }] }; export default empty_state_documentation;