Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return <div>{props.children}</div>;
};
MediaQueryStatus.propTypes = {
isActive: PropTypes.bool.isRequired,
children: PropTypes.node.isRequired,
};
const components = [
{
id: 'default',
title: 'Default',
examples: [
<div>
{isActive => (
MOBILE
)}
{isActive => (
TABLET
)}
{isActive => (
TABLET ONLY
)}
{isActive => (</div>
formatMonth,
markOutsideDays,
markToday,
maxDate,
minDate,
onDateSelect: this.handleDateSelect,
onMonthChange,
showWeekendSeparator,
weekStartsOn,
initiallyFocusedDate,
};
const calendar = ;
return (
{isMobile =>
isMobile ? (
{calendar}
) : (