MCPcopy Create free account
hub / github.com/flyfloor/react-component / handleNoticeClick

Function handleNoticeClick

demo/example/NoticeDemo.jsx:4–8  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

2import {NoticeCenter} from './index';
3
4const handleNoticeClick = (props) => {
5 if (props.link) {
6 window.open(props.link)
7 }
8}
9
10export default class NoticeDemo extends Component {
11 showNotice(type = ''){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…