620
620
border-radius : 4px ;
621
621
transition : background-color 0.2s ;
622
622
margin-right : 8px ;
623
- width : 145px ;
623
+ min- width: 145px ;
624
624
text-align : center;
625
625
margin-bottom : 8px ;
626
626
}
627
627
628
+ .module-link .external ::after {
629
+ content : ' ↗' ;
630
+ padding-left : 8px ;
631
+ vertical-align : middle;
632
+ }
633
+
628
634
.module-link .legacy {
629
635
background-color : rgba (77 , 166 , 255 , 0.3 );
630
636
color : rgba (255 , 255 , 255 , 0.8 );
@@ -786,20 +792,20 @@ <h3>📖 Engine</h3>
786
792
< a href ="./engine/ " class ="module-link "> v2.x API (current)</ a >
787
793
< a href ="./engine-v1/ " class ="module-link legacy "> v1.x API (legacy)</ a >
788
794
</ li >
789
- < li class ="module-item " data-name ="web-components ">
790
- < h3 > 📖 Web Components</ h3 >
791
- < p > Custom HTML elements for building declarative PlayCanvas applications.</ p >
792
- < a href ="./web-components/ " class ="module-link "> View API Reference</ a >
793
- </ li >
794
795
< li class ="module-item " data-name ="editor ">
795
796
< h3 > 📖 Editor</ h3 >
796
797
< p > API for interfacing with the PlayCanvas Editor.</ p >
797
798
< a href ="./editor/ " class ="module-link "> View API Reference</ a >
798
799
</ li >
799
- < li class ="module-item " data-name ="observer ">
800
- < h3 > 📖 Observer</ h3 >
801
- < p > Reactive data observation and binding system.</ p >
802
- < a href ="./observer/ " class ="module-link "> View API Reference</ a >
800
+ < li class ="module-item " data-name ="react ">
801
+ < h3 > 📖 React</ h3 >
802
+ < p > Use React’s declarative power to build PlayCanvas apps with components, hooks, and JSX.</ p >
803
+ < a href ="https://playcanvas-react.vercel.app/docs/api " class ="module-link external "> View API Reference</ a >
804
+ </ li >
805
+ < li class ="module-item " data-name ="web-components ">
806
+ < h3 > 📖 Web Components</ h3 >
807
+ < p > Custom HTML elements for building declarative PlayCanvas applications.</ p >
808
+ < a href ="./web-components/ " class ="module-link "> View API Reference</ a >
803
809
</ li >
804
810
< li class ="module-item " data-name ="pcui ">
805
811
< h3 > 📖 PCUI</ h3 >
@@ -811,6 +817,11 @@ <h3>📖 PCUI Graph</h3>
811
817
< p > Graph user interface components for creating node-based editors.</ p >
812
818
< a href ="./pcui-graph/ " class ="module-link "> View API Reference</ a >
813
819
</ li >
820
+ < li class ="module-item " data-name ="observer ">
821
+ < h3 > 📖 Observer</ h3 >
822
+ < p > Reactive data observation and binding system.</ p >
823
+ < a href ="./observer/ " class ="module-link "> View API Reference</ a >
824
+ </ li >
814
825
</ ul >
815
826
</ section >
816
827
</ div >
@@ -889,4 +900,4 @@ <h3>📖 PCUI Graph</h3>
889
900
} ) ;
890
901
</ script >
891
902
</ body >
892
- </ html >
903
+ </ html >
0 commit comments