About the Link property reactjs

I didn"t respond when I added class to Link. I think the encapsulated component activeClassName is string,. Somehow it just doesn"t work

<Link to={{pathname:"/printPage"}} activeClassName="dddfff" target="_blank"></Link>
...
propTypes: {
    to: oneOfType([string, object, func]),
    query: object,
    hash: string,
    state: object,
    activeStyle: object,
    activeClassName: string,
    onlyActiveOnIndex: bool.isRequired,
    onClick: func,
    target: string
  },
Aug.10,2021

<div className={styles.test}>
   <Link to='/'></Link>
</div>

css

.test {
  a {
    color: black;
  }

  a:active {
    color: red;
  }
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb8df2-2708.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb8df2-2708.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?