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
19 lines (11 loc) • 1.18 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var _templateObject = _taggedTemplateLiteral(['\n padding-left: 8px;\n padding-right: 9px;\n height: 30px;\n border-radius: 2px;\n cursor: pointer;\n min-width: 90px;\n white-space: nowrap;\n\n &:focus {\n outline: none;\n }\n &:disabled,\n &[disabled] {\n cursor: not-allowed;\n }\n'], ['\n padding-left: 8px;\n padding-right: 9px;\n height: 30px;\n border-radius: 2px;\n cursor: pointer;\n min-width: 90px;\n white-space: nowrap;\n\n &:focus {\n outline: none;\n }\n &:disabled,\n &[disabled] {\n cursor: not-allowed;\n }\n']);
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) } })); }
var BaseButton = _styledComponents2.default.button(_templateObject);
exports.default = BaseButton;