19 lines
541 B
TypeScript
19 lines
541 B
TypeScript
import { Bubble, BubbleContent } from "@/styles/aria-rhea/ui/bubble"
|
|
|
|
export function BubbleAlignmentDemo() {
|
|
return (
|
|
<div className="flex w-full max-w-sm flex-col gap-8 py-12">
|
|
<Bubble variant="muted">
|
|
<BubbleContent>
|
|
This bubble is aligned to the start. This is the default alignment.
|
|
</BubbleContent>
|
|
</Bubble>
|
|
<Bubble align="end">
|
|
<BubbleContent>
|
|
This bubble is aligned to the end. Use this for user messages.
|
|
</BubbleContent>
|
|
</Bubble>
|
|
</div>
|
|
)
|
|
}
|