Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
>
{content}
);
};
Menu.propTypes = {
dropAlign: PropTypes.shape({
top: PropTypes.string,
left: PropTypes.string,
}),
dropProps: PropTypes.shape({}),
items: PropTypes.arrayOf({}),
messages: PropTypes.shape({
openMenu: PropTypes.string,
closeMenu: PropTypes.string,
}),
justifyContent: PropTypes.string,
};
Menu.defaultProps = {
dropAlign: {
top: 'top',
left: 'left',
},
dropProps: {},
items: [],
messages: {
openMenu: 'Open Menu',
closeMenu: 'Close Menu',
))}
{align.bottom === 'bottom' ? controlMirror : undefined}
}
>
{content}
);
};
Menu.propTypes = {
dropAlign: PropTypes.shape({
top: PropTypes.string,
left: PropTypes.string,
}),
dropProps: PropTypes.shape({}),
items: PropTypes.arrayOf({}),
messages: PropTypes.shape({
openMenu: PropTypes.string,
closeMenu: PropTypes.string,
}),
justifyContent: PropTypes.string,
};
Menu.defaultProps = {
dropAlign: {
top: 'top',
left: 'left',
))}
{align.bottom === 'bottom' ? controlMirror : undefined}
}
>
{content}
);
};
Menu.propTypes = {
dropAlign: PropTypes.shape({
top: PropTypes.string,
left: PropTypes.string,
}),
dropProps: PropTypes.shape({}),
items: PropTypes.arrayOf({}),
messages: PropTypes.shape({
openMenu: PropTypes.string,
closeMenu: PropTypes.string,
}),
justifyContent: PropTypes.string,
};
Menu.defaultProps = {
dropAlign: {
top: 'top',
left: 'left',
}
>
{content}
);
};
Menu.propTypes = {
dropAlign: PropTypes.shape({
top: PropTypes.string,
left: PropTypes.string,
}),
dropProps: PropTypes.shape({}),
items: PropTypes.arrayOf({}),
messages: PropTypes.shape({
openMenu: PropTypes.string,
closeMenu: PropTypes.string,
}),
justifyContent: PropTypes.string,
};
Menu.defaultProps = {
dropAlign: {
top: 'top',
left: 'left',
},
dropProps: {},
items: [],
messages: {
}
>
{content}
);
};
Menu.propTypes = {
dropAlign: PropTypes.shape({
top: PropTypes.string,
left: PropTypes.string,
}),
dropProps: PropTypes.shape({}),
items: PropTypes.arrayOf({}),
messages: PropTypes.shape({
openMenu: PropTypes.string,
closeMenu: PropTypes.string,
}),
justifyContent: PropTypes.string,
};
Menu.defaultProps = {
dropAlign: {
top: 'top',
left: 'left',
},
dropProps: {},
items: [],
messages: {
}
>
{content}
);
};
Menu.propTypes = {
dropAlign: PropTypes.shape({
top: PropTypes.string,
left: PropTypes.string,
}),
dropProps: PropTypes.shape({}),
items: PropTypes.arrayOf({}),
messages: PropTypes.shape({
openMenu: PropTypes.string,
closeMenu: PropTypes.string,
}),
justifyContent: PropTypes.string,
};
Menu.defaultProps = {
dropAlign: {
top: 'top',
left: 'left',
},
dropProps: {},
items: [],
messages: {
openMenu: 'Open Menu',
closeMenu: 'Close Menu',