You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This WordPress plugin is designed to demonstrate the usage of React within a WordPress admin page. It utilizes React, TypeScript and [Gutenberg components](https://wordpress.github.io/gutenberg/).
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>
60
+
</Notice>
61
+
)}
62
+
<TabPanel
63
+
activeClass="is-active"
64
+
onSelect={setTab}
65
+
initialTabName={tab}
66
+
className={style.mainNav}
67
+
tabs={[
68
+
{
69
+
name: 'tab-1',
70
+
title: __('Tab 1','wp-react-admin-page-example'),
71
+
component: TabOne
72
+
},
44
73
{
45
-
label: 'Click me!',
46
-
onClick: ()=>setShowAnnouncement(null)
74
+
name: 'tab-2',
75
+
title: __('Tab 2','wp-react-admin-page-example'),
76
+
component: TabTwo
47
77
},
48
78
{
49
-
label: 'Or visit a link for more info',
50
-
url: 'https://wordpress.org',
51
-
variant: 'link'
52
-
}
53
-
]}
79
+
name: 'tab-3',
80
+
title: __('Tab 3','wp-react-admin-page-example'),
81
+
component: TabThree
82
+
},
83
+
]}
54
84
>
55
-
<h2>Announcement banner</h2>
56
-
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>
0 commit comments