/
githubmirror
/
wp-calypso
Обзор
Документация
Войти
/
githubmirror
/
wp-calypso
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
client/components/inline-support-link/docs/example.jsx
15 строк
500 B
Marin Atanasov
TC: Limit parallel ESLint tasks (#90643)
15 май 2024, 15:13
Не верифицирован
15 май 2024, 15:13
229d932
Код
Авторство
О чём код?
import { localizeUrl } from '@automattic/i18n-utils'; import { PureComponent } from 'react'; import InlineSupportLink from 'calypso/components/inline-support-link'; export default class extends PureComponent { static displayName = 'InlineSupportLink'; render() { const inlineSupportProps = { supportPostId: 38147, supportLink: localizeUrl( 'https://wordpress.com/support/audio/podcasting/' ), }; return <InlineSupportLink { ...inlineSupportProps }>Link Text</InlineSupportLink>; } }