fk-react-ui-components
Version:
Step 1 : Create a file in [ Seeds / Plants / Trees ] <br> Step 2 : It should export an Object with component name and story Component [Refer other components] <br> Step 3 : Story Component should return a react component <br> Step 3 : Created file should
21 lines (13 loc) • 2.02 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _templateObject = _taggedTemplateLiteral(["\n .date-range{\n text-align: center;\n margin-right: 90px;\n }\n .react-tabs__tab-panel{\n width: 83%;\n }\n .react-tabs__tab{\n border-radius: 0;\n padding: 15px 30px;\n width: 150px;\n font-size: 14px;\n cursor: pointer;\n font-weight: 500;\n list-style: none;\n display: inline;\n }\n .react-tabs__tab-list\n {\n border-bottom: none;\n padding: 10px;\n }\n .react-tabs__tab.react-tabs__tab--selected{\n background: rgba(235, 235, 235, 0.60);\n }\n }"], ["\n .date-range{\n text-align: center;\n margin-right: 90px;\n }\n .react-tabs__tab-panel{\n width: 83%;\n }\n .react-tabs__tab{\n border-radius: 0;\n padding: 15px 30px;\n width: 150px;\n font-size: 14px;\n cursor: pointer;\n font-weight: 500;\n list-style: none;\n display: inline;\n }\n .react-tabs__tab-list\n {\n border-bottom: none;\n padding: 10px;\n }\n .react-tabs__tab.react-tabs__tab--selected{\n background: rgba(235, 235, 235, 0.60);\n }\n }"]);
exports.default = styleTab;
var _styledComponents = require("styled-components");
var _styledComponents2 = _interopRequireDefault(_styledComponents);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
function styleTab(Tabs) {
return (0, _styledComponents2.default)(Tabs)(_templateObject);
}