Skip to content

Commit

Permalink
Feat/cell style (#543)
Browse files Browse the repository at this point in the history
* feat: add style t-cell__title-text

* chore: update snapshot

* chore: update snapshot

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
liweijie0812 and github-actions[bot] authored Oct 28, 2024
1 parent bdca4ab commit 547dc7e
Show file tree
Hide file tree
Showing 4 changed files with 1,515 additions and 441 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
Loading

0 comments on commit 547dc7e

Please sign in to comment.