
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
@txdfe/at-title
Advanced tools
标题组件,传入的内容过长时,展示tooltip
import Title from '@txdfe/at-title';
class Demo extends React.Component {
render() {
return (
<div className='example'>
<div style={{
width: 200
}}>
<Title>21313212131321221313212131321213132121313212131321213132121313211313212131321213132121313212131321</Title>
</div>
<Title>2131321213132121313212131321213132121313212131321</Title>
<div style={{
width: 200
}}>
<Title>112</Title>
</div>
</div>
);
}
}
ReactDOM.render(<Demo />, mountNode);
.example {
background: rgba(0, 0, 0, 0.05);
height: 400px;
width: 300px;
}
参考Balloon.Tooltip的api,除了trigger,传入的属性都会透传给Balloon.Tooltip
FAQs
--- title: zh-CN: 标题组件 en-US: at-title order: 0 ---
We found that @txdfe/at-title demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.