mirror of
https://github.com/react95-io/React95.git
synced 2026-04-26 03:00:18 -04:00
Merge pull request #41 from christoshrousis/close-example
Add a storybook example for Window with close.
This commit is contained in:
4726
package-lock.json
generated
4726
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -20,7 +20,24 @@ storiesOf("Window", module)
|
||||
))
|
||||
.add("default", () => (
|
||||
<Window style={{ width: 400 }}>
|
||||
<WindowHeader>react95.exe</WindowHeader>
|
||||
<WindowHeader
|
||||
style={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between"
|
||||
}}
|
||||
>
|
||||
<span>react95.exe</span>
|
||||
<Button
|
||||
style={{ marginRight: "-6px", marginTop: "1px" }}
|
||||
size={"sm"}
|
||||
square
|
||||
>
|
||||
<span style={{ fontWeight: "bold", transform: "translateY(-1px)" }}>
|
||||
x
|
||||
</span>
|
||||
</Button>
|
||||
</WindowHeader>
|
||||
<Toolbar>
|
||||
<Button variant="menu" size="sm">
|
||||
File
|
||||
|
||||
Reference in New Issue
Block a user