UNPKG

@gitlab/ui

Version:
26 lines (22 loc) 902 B
import examples from './examples'; var description = "### Buttons\n\nYou cannot have a secondary button without a primary.\nAll buttons require both text a link to render correctly.\n"; var empty_state_documentation = { description: description, examples: examples, propsInfo: { svgPath: { additionalInfo: "The illustration's URL." }, 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;