UNPKG

piral-menu

Version:

Plugin for the integration of menu items in Piral.

5 lines 383 B
import * as React from 'react'; import { defaultRender, ExtensionSlot } from 'piral-core'; export const DefaultContainer = (props) => (React.createElement(ExtensionSlot, { name: `menu_${props.type}`, params: props, empty: () => defaultRender(props.children, 'default_menu') })); export const DefaultItem = (props) => defaultRender(props.children); //# sourceMappingURL=default.js.map