Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
);
};
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',
},
justifyContent: 'start',
};
);
};
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',
},
justifyContent: 'start',
};
{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',
},
justifyContent: 'start',
{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',
},
dropProps: {},
{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',
},
dropProps: {},
>
{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',
},
{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',
},
justifyContent: 'start',
>
{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',
},