Skip to content

Commit

Permalink
fix: yet more typography corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoeAstra committed May 13, 2024
1 parent cd3344c commit 81fce66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/layout/Flex/Flex.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Button } from 'src/components'
import { type IConfigProviderProps } from 'src/components'
import { Slider } from 'src/components'
import { Card } from 'src/components'
import { Title } from 'src/components/general/Typography/Typography'
import { Typography } from 'src/components/general/Typography/Typography'

const meta: Meta<typeof Flex> = {
title: 'Aquarium/Layout/Flex',
Expand Down Expand Up @@ -252,7 +252,7 @@ export const ExampleNesting: Story = {
<Flex justify="space-between">
<img alt="avatar" style={imgStyle} />
<Flex vertical align="flex-end" justify="space-between" style={{ padding: 32 }}>
<Title level={3}>“antd is an enterprise-class UI design language and React UI library.”</Title>
<Typography.Title level={3}>“antd is an enterprise-class UI design language and React UI library.”</Typography.Title>
<Button type="primary" href="https://ant.design" target="_blank">
Get Started
</Button>
Expand Down
6 changes: 3 additions & 3 deletions src/components/navigation/Dropdown/Dropdown.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Space } from 'src/components'
import { Divider } from 'src/components'
import { theme } from 'antd'
import { type MenuProps } from 'antd'
import { Link } from 'src/components/general/Typography/Typography'
import { Typography } from 'src/components/general/Typography/Typography'

const menu: IDropdownProps['menu'] = {
items: [
Expand Down Expand Up @@ -628,12 +628,12 @@ export const ExampleSelectable: Story = {
selectable: true,
defaultSelectedKeys: ['3'],
}}>
<Link>
<Typography.Link>
<Space>
Selectable
<Icon name="alicorn" />
</Space>
</Link>
</Typography.Link>
</Dropdown>
</ExampleStory>
)
Expand Down

0 comments on commit 81fce66

Please sign in to comment.