var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _ExpandMore=_interopRequireDefault(require("@material-ui/icons/ExpandMore"));var _Favorite=_interopRequireDefault(require("@material-ui/icons/Favorite"));var _IconButton=_interopRequireDefault(require("@material-ui/core/IconButton"));var _react=_interopRequireDefault(require("react"));var _Share=_interopRequireDefault(require("@material-ui/icons/Share"));var _core=require("@bluebase/core");var _storybookAddon=_interopRequireDefault(require("@bluebase/storybook-addon"));var _addonInfo=require("@storybook/addon-info");var _addonKnobs=require("@storybook/addon-knobs");var _jsxFileName="/home/travis/build/BlueBaseJS/plugin-material-ui/src/components/CardActions/_stories_/CardAction.stories.tsx";var CardActions=(0,_core.getComponent)('CardActions');var stories=(0,_storybookAddon.default)('Card Action',module);stories.addDecorator(_addonInfo.withInfo);stories.addDecorator(_addonKnobs.withKnobs);stories.add('SimpleCard',function(){return _react.default.createElement(RecipeReviewCard,{__source:{fileName:_jsxFileName,lineNumber:24}});});function RecipeReviewCard(){var _React$useState=_react.default.useState(false),_React$useState2=(0,_slicedToArray2.default)(_React$useState,2),expanded=_React$useState2[0],setExpanded=_React$useState2[1];function handleExpandClick(){setExpanded(!expanded);}return _react.default.createElement(CardActions,{__source:{fileName:_jsxFileName,lineNumber:37}},_react.default.createElement(_IconButton.default,{"aria-label":"Add to favorites",__source:{fileName:_jsxFileName,lineNumber:38}},_react.default.createElement(_Favorite.default,{__source:{fileName:_jsxFileName,lineNumber:39}})),_react.default.createElement(_IconButton.default,{"aria-label":"Share",__source:{fileName:_jsxFileName,lineNumber:41}},_react.default.createElement(_Share.default,{__source:{fileName:_jsxFileName,lineNumber:42}})),_react.default.createElement(_IconButton.default,{onClick:handleExpandClick,"aria-expanded":expanded,"aria-label":"Show more",__source:{fileName:_jsxFileName,lineNumber:44}},_react.default.createElement(_ExpandMore.default,{__source:{fileName:_jsxFileName,lineNumber:50}})));}var _default=RecipeReviewCard;exports.default=_default;