sesame-components-testing 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface SesameComponentProps {
|
|
2
|
+
message?: string;
|
|
3
|
+
}
|
|
4
|
+
export declare const StyledDiv: import("@emotion/styled").StyledComponent<{
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.StyledDiv = void 0;
|
|
7
|
+
const styled_1 = __importDefault(require("@emotion/styled"));
|
|
8
|
+
exports.StyledDiv = styled_1.default.div `
|
|
9
|
+
background-color: red;
|
|
10
|
+
font-weight: bold;
|
|
11
|
+
font-size: 33px;
|
|
12
|
+
`;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SesameComponent = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const SesameComponent_styles_1 = require("./SesameComponent.styles");
|
|
6
|
+
const SesameComponent = ({ message = "Hello, Sesame!", }) => {
|
|
7
|
+
return (0, jsx_runtime_1.jsx)(SesameComponent_styles_1.StyledDiv, { children: message });
|
|
8
|
+
};
|
|
9
|
+
exports.SesameComponent = SesameComponent;
|