wix-style-react
Version:
wix-style-react
26 lines (25 loc) • 730 B
JavaScript
import React from 'react';
import Calendar from 'wix-style-react/Calendar';
import Tooltip from 'wix-style-react/Tooltip';
import Button from 'wix-style-react/Button';
import DateIcon from 'wix-style-react/new-icons/Date';
export default (function () {
return React.createElement(
Tooltip,
{
popover: true,
placement: 'bottom',
alignment: 'left',
showArrow: false,
hideTrigger: 'click',
shouldCloseOnClickOutside: true,
maxWidth: '300px',
content: React.createElement(Calendar, { value: new Date(), onChange: function onChange() {} })
},
React.createElement(
Button,
{ theme: 'icon-standard' },
React.createElement(DateIcon, null)
)
);
});