()
| 1 | import { getSolidLogo } from "../pages/common.ts"; |
| 2 | |
| 3 | export default function Examples() { |
| 4 | return ( |
| 5 | <view |
| 6 | style={{ |
| 7 | width: "100%", |
| 8 | height: "100%", |
| 9 | }} |
| 10 | > |
| 11 | <view |
| 12 | style={{ |
| 13 | flexDirection: "row", |
| 14 | alignItems: "center", |
| 15 | padding: 16, |
| 16 | }} |
| 17 | > |
| 18 | <image |
| 19 | style={{ |
| 20 | width: 50, |
| 21 | height: 50, |
| 22 | }} |
| 23 | stretch="aspectFit" |
| 24 | src={getSolidLogo()} |
| 25 | > |
| 26 | </image> |
| 27 | <text |
| 28 | style={{ |
| 29 | fontSize: 18, |
| 30 | marginLeft: 8, |
| 31 | }} |
| 32 | > |
| 33 | Solid Desktop Examples |
| 34 | </text> |
| 35 | </view> |
| 36 | <view |
| 37 | style={{ |
| 38 | backgroundColor: "#efefef", |
| 39 | borderRadius: 10, |
| 40 | marginLeft: 16, |
| 41 | marginRight: 16, |
| 42 | padding: 10, |
| 43 | }} |
| 44 | > |
| 45 | <text |
| 46 | style={{ |
| 47 | fontSize: 14, |
| 48 | color: "#999", |
| 49 | }} |
| 50 | > |
| 51 | Play with the examples to learn how to build macOS apps with Solid and |
| 52 | NativeScript. |
| 53 | </text> |
| 54 | </view> |
| 55 | </view> |
| 56 | ); |
| 57 | } |
nothing calls this directly
no test coverage detected