Update interactive examples

This commit is contained in:
Nicolas Gallagher
2023-04-12 10:59:31 -07:00
parent 338cce194d
commit 3e74ed0ea7
16 changed files with 113 additions and 84 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ export default function Example(props) {
return (
<View style={styles.root}>
<View style={styles.header}>
<Text accessibilityLabel="Back" href="/" style={styles.back}>
<Text aria-label="Back" href="/" style={styles.back}>
<svg
style={{ fill: '#555', height: '100%' }}
viewBox="0 0 140 140"
@@ -13,7 +13,7 @@ export default function Example(props) {
<path d="M105.614 118.681c3.398 3.396 3.4 8.912 0 12.311-3.396 3.399-8.91 3.398-12.311 0-.02-.02-.035-.04-.053-.061l-.025.022-57.66-57.66.024-.022a8.664 8.664 0 01-2.608-6.208 8.672 8.672 0 013.229-6.762l-.06-.058 57.66-57.66.025.024c.018-.021.033-.039.053-.058A8.706 8.706 0 01106.2 14.86c-.021.02-.041.034-.061.054l.023.024-52.119 52.125 51.54 51.54-.025.021c.015.022.036.036.056.057" />
</svg>
</Text>
<Text accessibilityRole="heading" style={styles.title}>
<Text role="heading" style={styles.title}>
{props.title}
</Text>
</View>