Download mobile/modules/crust/src/CrustView.web.tsx from Anirudh1950/MentraOS: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/Anirudh1950/MentraOS/resolve/main/mobile/modules/crust/src/CrustView.web.tsx
- Command line
-
hf download hf://Anirudh1950/MentraOS/mobile/modules/crust/src/CrustView.web.tsx
-
curl -L -o CrustView.web.tsx https://huggingface.co/Anirudh1950/MentraOS/resolve/main/mobile/modules/crust/src/CrustView.web.tsx
298 Bytes
| import * as React from "react" | |
| import {CrustViewProps} from "./Crust.types" | |
| export default function CrustView(props: CrustViewProps) { | |
| return ( | |
| <div> | |
| <iframe style={{flex: 1}} src={props.url} onLoad={() => props.onLoad({nativeEvent: {url: props.url}})} /> | |
| </div> | |
| ) | |
| } | |