mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-22 08:08:13 +00:00
fix: remove markdown text component and story
This commit is contained in:
parent
92519f9e82
commit
f54122c036
@ -1,21 +0,0 @@
|
||||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import MarkdownText from './MarkdownText'
|
||||
|
||||
const meta = {
|
||||
title: 'General/MarkdownText',
|
||||
component: MarkdownText,
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
} satisfies Meta<typeof MarkdownText>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
children: 'MarkdownText',
|
||||
},
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
import { Text } from '@status-im/components'
|
||||
import { Stack } from 'tamagui'
|
||||
|
||||
const MarkdownText = (props: any) => {
|
||||
return (
|
||||
<Stack style={{ marginTop: '10px' }}>
|
||||
<Text size={15} color="#647084">
|
||||
{props.children}
|
||||
</Text>
|
||||
</Stack>
|
||||
)
|
||||
}
|
||||
|
||||
export default MarkdownText
|
Loading…
x
Reference in New Issue
Block a user