/
githubmirror
/
wp-calypso
Обзор
Документация
Войти
/
githubmirror
/
wp-calypso
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
client/components/section/docs/example.jsx
17 строк
357 B
Rolando Perez
Marketplace: Add Education Footer Bottom Part (#61746)
17 мар 2022, 01:31
Не верифицирован
17 мар 2022, 01:31
6c6c753
Код
Авторство
О чём код?
import Section from 'calypso/components/section'; const content = 'this is an example content and it could be longer or a react node'; const SectionExample = () => { return ( <> <Section header="This is a section"> <div>{ content }</div> </Section> </> ); }; SectionExample.displayName = 'SectionExample'; export default SectionExample;