text: var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _=require("../../");var _Header=_interopRequireDefault(require("../../storybook/components/Header"));var _Container=_interopRequireDefault(require("../../storybook/components/Container"));var _storiesOf=require("../../storybook/helpers/storiesOf");var _jsxFileName="C:\\mike\\eps\\repos\\material-bread\\src\\Components\\ToggleButton\\ToggleButton.stories.js";var _default=(0,_storiesOf.storiesOf)('Components|Toggle Button',module).addParameters({jest:['ToggleButton']}).add('Single',function(){return _react.default.createElement(_Container.default,{__source:{fileName:_jsxFileName,lineNumber:12}},_react.default.createElement(_Header.default,{title:'Toggle Button',__source:{fileName:_jsxFileName,lineNumber:13}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row'},__source:{fileName:_jsxFileName,lineNumber:14}},_react.default.createElement(_.ToggleButton,{activeNode:_react.default.createElement(_.Icon,{name:"alarm",size:32,__source:{fileName:_jsxFileName,lineNumber:16}}),inActiveNode:_react.default.createElement(_.Icon,{name:"alarm",size:32,style:{opacity:0.5},__source:{fileName:_jsxFileName,lineNumber:18}}),size:32,__source:{fileName:_jsxFileName,lineNumber:15}}),_react.default.createElement(_.ToggleButton,{activeNode:_react.default.createElement(_.Icon,{name:"face",size:32,color:'purple',__source:{fileName:_jsxFileName,lineNumber:23}}),inActiveNode:_react.default.createElement(_.Icon,{name:"face",size:32,style:{opacity:0.5},color:'purple',__source:{fileName:_jsxFileName,lineNumber:25}}),size:32,__source:{fileName:_jsxFileName,lineNumber:22}}),_react.default.createElement(_.ToggleButton,{activeNode:_react.default.createElement(_.Icon,{name:"arrow-back",size:32,color:'orange',__source:{fileName:_jsxFileName,lineNumber:35}}),inActiveNode:_react.default.createElement(_.Icon,{name:"arrow-back",size:32,style:{opacity:0.5},color:'orange',__source:{fileName:_jsxFileName,lineNumber:37}}),size:32,__source:{fileName:_jsxFileName,lineNumber:34}})),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row'},__source:{fileName:_jsxFileName,lineNumber:47}},_react.default.createElement(_.ToggleButton,{activeNode:_react.default.createElement(_.Icon,{name:"favorite",size:32,__source:{fileName:_jsxFileName,lineNumber:49}}),inActiveNode:_react.default.createElement(_.Icon,{name:"favorite-border",size:32,__source:{fileName:_jsxFileName,lineNumber:50}}),size:32,__source:{fileName:_jsxFileName,lineNumber:48}}),_react.default.createElement(_.ToggleButton,{activeNode:_react.default.createElement(_.Icon,{name:"brightness-1",size:32,color:'purple',__source:{fileName:_jsxFileName,lineNumber:54}}),inActiveNode:_react.default.createElement(_.Icon,{name:"adjust",size:32,color:'purple',__source:{fileName:_jsxFileName,lineNumber:55}}),size:32,__source:{fileName:_jsxFileName,lineNumber:53}}),_react.default.createElement(_.ToggleButton,{activeNode:_react.default.createElement(_.Icon,{name:"label",size:32,color:'orange',__source:{fileName:_jsxFileName,lineNumber:59}}),inActiveNode:_react.default.createElement(_.Icon,{name:"label-outline",size:32,style:{opacity:0.5},color:'orange',__source:{fileName:_jsxFileName,lineNumber:61}}),size:32,__source:{fileName:_jsxFileName,lineNumber:58}})));}).add('Custom',function(){return _react.default.createElement(_Container.default,{__source:{fileName:_jsxFileName,lineNumber:74}},_react.default.createElement(_Header.default,{title:'Toggle Button',__source:{fileName:_jsxFileName,lineNumber:75}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row'},__source:{fileName:_jsxFileName,lineNumber:76}},_react.default.createElement(_.ToggleButton,{activeNode:_react.default.createElement(_reactNative.View,{style:{backgroundColor:'rgba(0,0,0,.12)',borderWidth:1,borderColor:'rgba(0,0,0,.12)',padding:8},__source:{fileName:_jsxFileName,lineNumber:79}},_react.default.createElement(_.Icon,{name:"format-italic",size:20,__source:{fileName:_jsxFileName,lineNumber:86}})),inActiveNode:_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderWidth:1,borderColor:'rgba(0,0,0,.12)',padding:8},__source:{fileName:_jsxFileName,lineNumber:90}},_react.default.createElement(_.Icon,{name:"format-italic",size:20,__source:{fileName:_jsxFileName,lineNumber:97}})),rippleContainerBorderRadius:0,__source:{fileName:_jsxFileName,lineNumber:77}}),_react.default.createElement(_.ToggleButton,{activeNode:_react.default.createElement(_reactNative.View,{style:{backgroundColor:'rgba(0,0,0,.12)',borderWidth:1,borderRightWidth:0,borderLeftWidth:0,borderColor:'rgba(0,0,0,.12)',padding:8},__source:{fileName:_jsxFileName,lineNumber:104}},_react.default.createElement(_.Icon,{name:"format-bold",size:20,__source:{fileName:_jsxFileName,lineNumber:113}})),inActiveNode:_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderWidth:1,borderRightWidth:0,borderLeftWidth:0,borderColor:'rgba(0,0,0,.12)',padding:8},__source:{fileName:_jsxFileName,lineNumber:117}},_react.default.createElement(_.Icon,{name:"format-bold",size:20,__source:{fileName:_jsxFileName,lineNumber:126}})),rippleContainerBorderRadius:0,__source:{fileName:_jsxFileName,lineNumber:102}}),_react.default.createElement(_.ToggleButton,{activeNode:_react.default.createElement(_reactNative.View,{style:{backgroundColor:'rgba(0,0,0,.12)',borderWidth:1,borderColor:'rgba(0,0,0,.12)',padding:8},__source:{fileName:_jsxFileName,lineNumber:133}},_react.default.createElement(_.Icon,{name:"format-underlined",size:20,__source:{fileName:_jsxFileName,lineNumber:140}})),inActiveNode:_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderWidth:1,borderColor:'rgba(0,0,0,.12)',padding:8},__source:{fileName:_jsxFileName,lineNumber:144}},_react.default.createElement(_.Icon,{name:"format-underlined",size:20,__source:{fileName:_jsxFileName,lineNumber:151}})),rippleContainerBorderRadius:0,__source:{fileName:_jsxFileName,lineNumber:131}})));}).add('Group',function(){return _react.default.createElement(_Container.default,{__source:{fileName:_jsxFileName,lineNumber:160}},_react.default.createElement(_Header.default,{title:'Toggle Button Group',__source:{fileName:_jsxFileName,lineNumber:161}}),_react.default.createElement(_.ToggleButtonGroup,{__source:{fileName:_jsxFileName,lineNumber:162}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row'},__source:{fileName:_jsxFileName,lineNumber:163}},_react.default.createElement(_.ToggleButton,{activeNode:_react.default.createElement(_reactNative.View,{style:{backgroundColor:'rgba(0,0,0,.12)',borderWidth:1,borderColor:'rgba(0,0,0,.12)',padding:8},__source:{fileName:_jsxFileName,lineNumber:166}},_react.default.createElement(_.Icon,{name:"format-align-center",size:20,__source:{fileName:_jsxFileName,lineNumber:173}})),inActiveNode:_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderWidth:1,borderColor:'rgba(0,0,0,.12)',padding:8},__source:{fileName:_jsxFileName,lineNumber:177}},_react.default.createElement(_.Icon,{name:"format-align-center",size:20,__source:{fileName:_jsxFileName,lineNumber:184}})),rippleContainerBorderRadius:0,value:'center',__source:{fileName:_jsxFileName,lineNumber:164}}),_react.default.createElement(_.ToggleButton,{value:'bold',activeNode:_react.default.createElement(_reactNative.View,{style:{backgroundColor:'rgba(0,0,0,.12)',borderWidth:1,borderRightWidth:0,borderLeftWidth:0,borderColor:'rgba(0,0,0,.12)',padding:8},__source:{fileName:_jsxFileName,lineNumber:193}},_react.default.createElement(_.Icon,{name:"format-align-left",size:20,__source:{fileName:_jsxFileName,lineNumber:202}})),inActiveNode:_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderWidth:1,borderRightWidth:0,borderLeftWidth:0,borderColor:'rgba(0,0,0,.12)',padding:8},__source:{fileName:_jsxFileName,lineNumber:206}},_react.default.createElement(_.Icon,{name:"format-align-left",size:20,__source:{fileName:_jsxFileName,lineNumber:215}})),rippleContainerBorderRadius:0,__source:{fileName:_jsxFileName,lineNumber:190}}),_react.default.createElement(_.ToggleButton,{value:'underlined',activeNode:_react.default.createElement(_reactNative.View,{style:{backgroundColor:'rgba(0,0,0,.12)',borderWidth:1,borderColor:'rgba(0,0,0,.12)',padding:8},__source:{fileName:_jsxFileName,lineNumber:223}},_react.default.createElement(_.Icon,{name:"format-align-right",size:20,__source:{fileName:_jsxFileName,lineNumber:230}})),inActiveNode:_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderWidth:1,borderColor:'rgba(0,0,0,.12)',padding:8},__source:{fileName:_jsxFileName,lineNumber:234}},_react.default.createElement(_.Icon,{name:"format-align-right",size:20,__source:{fileName:_jsxFileName,lineNumber:241}})),rippleContainerBorderRadius:0,__source:{fileName:_jsxFileName,lineNumber:220}}))));});exports.default=_default;