mirror of
https://github.com/zoriya/react-native-web.git
synced 2025-12-20 13:35:28 +00:00
Storybook deploy
This commit is contained in:
21
storybook/iframe.html
Normal file
21
storybook/iframe.html
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script>
|
||||
if (window.parent !== window) {
|
||||
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
}
|
||||
</script>
|
||||
<title>React Storybook</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<div id="error-display"></div>
|
||||
<script src="static/preview.bundle.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
43
storybook/index.html
Normal file
43
storybook/index.html
Normal file
@@ -0,0 +1,43 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>React Storybook</title>
|
||||
<style>
|
||||
/*
|
||||
When resizing panels, the drag event breaks if the cursor
|
||||
moves over the iframe. Add the 'dragging' class to the body
|
||||
at drag start and remove it when the drag ends.
|
||||
*/
|
||||
.dragging iframe {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Styling the fuzzy search box placeholders */
|
||||
.searchBox::-webkit-input-placeholder { /* Chrome/Opera/Safari */
|
||||
color: #ddd;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.searchBox::-moz-placeholder { /* Firefox 19+ */
|
||||
color: #ddd;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.searchBox:focus{
|
||||
border-color: #EEE !important;
|
||||
}
|
||||
|
||||
.btn:hover{
|
||||
background-color: #eee
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="margin: 0;">
|
||||
<div id="root"></div>
|
||||
<script src="static/manager.bundle.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
58
storybook/static/manager.bundle.js
Normal file
58
storybook/static/manager.bundle.js
Normal file
File diff suppressed because one or more lines are too long
1
storybook/static/manager.js.map
Normal file
1
storybook/static/manager.js.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"manager.js","sources":["webpack:///manager.js","webpack:///"],"mappings":"AAAA;ACmiIA;;;;;;;;;;;;;;AA84FA;;;;;;;;;;;AAw5EA;AA2sIA;AAugFA;;;;;AAsjBA;;;;;;;;;AA8oCA;AA6zEA;;;;;AAyrDA;;;AAusDA;AAo3IA;AAq2BA;AAy0FA;AAguHA;AAkgHA","sourceRoot":""}
|
||||
43
storybook/static/preview.bundle.js
Normal file
43
storybook/static/preview.bundle.js
Normal file
File diff suppressed because one or more lines are too long
1
storybook/static/preview.bundle.js.map
Normal file
1
storybook/static/preview.bundle.js.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"preview.bundle.js","sources":["webpack:///preview.bundle.js","webpack:///"],"mappings":"AAAA;ACuyGA;AAqwGA;AA43GA;;;;;;;;;;;;;;AAuCA;;;;;;;;;AAovFA;AAyzEA;AA6mGA;AAkoJA;AAs8DA;AA27EA;AAq/CA;AA49DA;AAo8EA;AAk8FA;;;AAorDA;AA4rIA;AAwsHA;AAu1HA;AA2nEA","sourceRoot":""}
|
||||
Reference in New Issue
Block a user