storybook-eol/react-treebeard

[Request] Do not show polygon if no children are provided.

mindaugasnakrosis opened this issue · 0 comments

Do not show polygon of node:

image

If there are no children provided to the location (empty array).

Example data object:

export default {
    name: 'react-treebeard',
    id: 1,
    toggled: true,
    children: [
        {
            name: 'example',
            children: []
        },
    ]
};