pages235/src/react/MessageFormattedString.stories.tsx
qqq b7356efbce
feat: Add a way to view / sign books (#158)
---------

Co-authored-by: soulless-ai <mr.chupak@gmail.com>
Co-authored-by: Vitaly Turovsky <vital2580@icloud.com>
2024-07-17 02:53:26 +03:00

18 lines
441 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react'
import MessageFormattedString from './MessageFormattedString'
const meta: Meta<typeof MessageFormattedString> = {
component: MessageFormattedString,
}
export default meta
type Story = StoryObj<typeof MessageFormattedString>
export const Primary: Story = {
args: {
// red text using minecraft styling symbol
message: '\u00A7cYou died!',
fallbackColor: 'white'
},
}