---
order: 99
title:
zh-CN: 文本对齐
en-US: Text Align
debug: true
---
```tsx
import {
AutoComplete,
Button,
Cascader,
DatePicker,
Input,
InputNumber,
Mentions,
Radio,
Select,
TimePicker,
TreeSelect,
Typography,
} from 'antd';
import React from 'react';
const { Text } = Typography;
const { Option } = Select;
const { RangePicker } = DatePicker;
const narrowStyle = {
width: 50,
};
const options = [
{
value: 'zhejiang',
label: 'Zhejiang',
children: [
{
value: 'hangzhou',
label: 'Hangzhou',
children: [
{
value: 'xihu',
label: 'West Lake',
},
],
},
],
},
{
value: 'jiangsu',
label: 'Jiangsu',
children: [
{
value: 'nanjing',
label: 'Nanjing',
children: [
{
value: 'zhonghuamen',
label: 'Zhong Hua Men',
},
],
},
],
},
];
const App: React.FC = () => (
<>
Ant Design
Hangzhou
Shanghai
>
);
export default App;
```