Слияние кода завершено, страница обновится автоматически
category | type | title | subtitle | cols |
---|---|---|---|---|
Pro Components |
General |
Typography |
Typography |
1 |
Basic text writing, including headings, body text, lists, and more.
Property | Description | Type | Default |
---|---|---|---|
code | Code style | boolean | false |
copyable | Whether to be copyable, customize it via setting an object | boolean | copyable | false |
delete | Deleted line style | boolean | false |
disabled | Disabled content | boolean | false |
ellipsis | Display ellipsis when text overflows,can configure expandable、rows and onExpand by using object | boolean | ellipsis | false |
keyboard | Keyboard style | boolean | false |
mark | Marked style | boolean | false |
onClick | Set the handler to handle click event | (event) => void | - |
strong | Bold style | boolean | false |
italic | Italic style | boolean | false |
type | Content type |
secondary | success | warning | danger
|
- |
underline | Underlined style | boolean | false |
Property | Description | Type | Default |
---|---|---|---|
code | Code style | boolean | false |
copyable | Whether to be copyable, customize it via setting an object | boolean | copyable | false |
delete | Deleted line style | boolean | false |
disabled | Disabled content | boolean | false |
ellipsis | Display ellipsis when text overflows, can configure rows and expandable by using object | boolean | ellipsis | false |
level | Set content importance. Match with h1 , h2 , h3 , h4 , h5
|
number: 1, 2, 3, 4, 5 | 1 |
mark | Marked style | boolean | false |
onClick | Set the handler to handle click event | (event) => void | - |
italic | Italic style | boolean | false |
type | Content type |
secondary | success | warning | danger
|
- |
underline | Underlined style | boolean | false |
Property | Description | Type | Default |
---|---|---|---|
code | Code style | boolean | false |
copyable | Whether to be copyable, customize it via setting an object | boolean | copyable | false |
delete | Deleted line style | boolean | false |
disabled | Disabled content | boolean | false |
ellipsis | Display ellipsis when text overflows, can configure rows and expandable by using object | boolean | ellipsis | false |
mark | Marked style | boolean | false |
onClick | Set the handler to handle click event | (event) => void | - |
strong | Bold style | boolean | false |
italic | Italic style | boolean | false |
type | Content type |
secondary | success | warning | danger
|
- |
underline | Underlined style | boolean | false |
{
text: string,
onCopy: function,
icon: ReactNode,
tooltips: false | [ReactNode, ReactNode],
}
Property | Description | Type | Default |
---|---|---|---|
icon | Custom copy icon: [copyIcon, copiedIcon] | [ReactNode, ReactNode] | - |
text | The text to copy | string | - |
tooltips | Custom tooltip text, hide when it is false | [ReactNode, ReactNode] | [Copy , Copied ] |
onCopy | Called when copied text | function | - |
{
rows: number,
expandable: boolean,
suffix: string,
symbol: ReactNode,
tooltip: boolean | ReactNode,
onExpand: function(event),
onEllipsis: function(ellipsis),
}
Property | Description | Type | Default |
---|---|---|---|
expandable | Whether to be expandable | boolean | - |
rows | Max rows of content | number | - |
suffix | Suffix of ellipsis content | string | - |
symbol | Custom description of ellipsis | ReactNode | Expand |
tooltip | Show tooltip when ellipsis | boolean | ReactNode | - |
onEllipsis | Called when enter or leave ellipsis state | function(ellipsis) | - |
onExpand | Called when expand content | function(event) | - |
More props FormField。
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Комментарий ( 0 )