Skip to content

Commit

Permalink
feat: add style t-cell__title-text
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Sep 25, 2024
1 parent c8512cf commit 313ab02
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/cell/Cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ const Cell: React.FC<CellProps> = (originProps) => {
}
return (
<div className={`${name}__title`}>
{title}
{required && <span className={`${name}--required`}>&nbsp;*</span>}
<div className={`${name}__title-text`}>
{title}
{required && <span className={`${name}--required`}>&nbsp;*</span>}
</div>
{description && <div className={`${name}__description`}>{description}</div>}
</div>
);
Expand Down

0 comments on commit 313ab02

Please sign in to comment.