mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
chore: use classNames (#55571)
* chore: use classNames * Update components/table/hooks/useSorter.tsx Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: lijianan <574980606@qq.com> --------- Signed-off-by: lijianan <574980606@qq.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -204,7 +204,10 @@ const injectSorter = <RecordType extends AnyObject = AnyObject>(
|
||||
) {
|
||||
return (
|
||||
<div
|
||||
className={`${columnSortersClass} ${prefixCls}-column-sorters-tooltip-target-sorter`}
|
||||
className={classNames(
|
||||
columnSortersClass,
|
||||
`${columnSortersClass}-tooltip-target-sorter`,
|
||||
)}
|
||||
>
|
||||
{renderColumnTitleWrapper}
|
||||
<Tooltip {...tooltipProps}>{sorter}</Tooltip>
|
||||
|
||||
Reference in New Issue
Block a user