alphaa-components
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -9,2 +9,2 @@ import * as React from 'react'; | ||
} | ||
export declare const Button: React.FC<BoxProps>; | ||
export declare const Box: React.FC<BoxProps>; |
@@ -14,10 +14,10 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Button = void 0; | ||
exports.Box = void 0; | ||
const React = require("react"); | ||
require("./Box.css"); | ||
const Button = (_a) => { | ||
const Box = (_a) => { | ||
var { bg = 'primary', size = 'medium', children } = _a, props = __rest(_a, ["bg", "size", "children"]); | ||
return (React.createElement("div", Object.assign({ className: ['box', `box-${size}`, bg].join(' ') }, props), children)); | ||
}; | ||
exports.Button = Button; | ||
exports.Box = Box; | ||
//# sourceMappingURL=Box.js.map |
export { Button } from './Button/Button'; | ||
export { Input } from './Input/Input'; | ||
export { Box } from './Box/Box'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Button = void 0; | ||
exports.Box = exports.Input = exports.Button = void 0; | ||
var Button_1 = require("./Button/Button"); | ||
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.Button; } }); | ||
var Input_1 = require("./Input/Input"); | ||
Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return Input_1.Input; } }); | ||
var Box_1 = require("./Box/Box"); | ||
Object.defineProperty(exports, "Box", { enumerable: true, get: function () { return Box_1.Box; } }); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "alphaa-components", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
12690
219