-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from ROXBOZ/Roxanne---UI
Roxanne UI
- Loading branch information
Showing
29 changed files
with
581 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
export { Button } from "./stories/button/Button"; | ||
export { Input } from "./stories/input/Input"; | ||
export { Bubble } from "./stories/bubble/Bubble"; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import type { Meta, StoryObj } from "@storybook/react"; | ||
import { Bubble } from "./Bubble"; | ||
|
||
const meta: Meta<typeof Bubble> = { | ||
title: "Example/Bubble", | ||
component: Bubble, | ||
tags: ["autodocs"], | ||
argTypes: {}, | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof Bubble>; | ||
|
||
export const MyMessageLightmode: Story = { | ||
args: { | ||
darkmode: false, | ||
editable: true, | ||
content: "yolo", | ||
timestamp: "2023-06-22T10:30:00", | ||
}, | ||
}; | ||
|
||
export const OtherUserLightmode: Story = { | ||
args: { | ||
darkmode: false, | ||
editable: false, | ||
content: "oi", | ||
author: "Chewbacca", | ||
timestamp: "2023-06-21T11:30:00", | ||
}, | ||
}; | ||
|
||
export const MyMessageDarkmode: Story = { | ||
args: { | ||
darkmode: true, | ||
editable: true, | ||
content: "hola", | ||
timestamp: "2023-04-21T11:30:00", | ||
}, | ||
parameters: { | ||
backgrounds: { | ||
default: "dark", | ||
}, | ||
}, | ||
}; | ||
|
||
export const OtherUserMessageDarkmode: Story = { | ||
args: { | ||
darkmode: true, | ||
editable: false, | ||
content: "ciao", | ||
author: "Chewbacca", | ||
timestamp: "2023-05-21T17:20:00", | ||
}, | ||
parameters: { | ||
backgrounds: { | ||
default: "dark", | ||
}, | ||
}, | ||
}; |
Oops, something went wrong.