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
Add documentation for outline on View Style Props page (#4480)
* Add documentation for outline on View Style Props page
* Add more description to outline props
* Add documentation to 0.77 version
* Remove filter link change
* Address comments
* Add changes from 0.77 to current
Copy file name to clipboardExpand all lines: docs/view-style-props.md
+58Lines changed: 58 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -371,6 +371,64 @@ The following filter functions work on Android only:
371
371
| ------ |
372
372
| number |
373
373
374
+
---
375
+
376
+
### `outlineColor`
377
+
378
+
:::note
379
+
`outlineColor` is only available on the [New Architecture](/architecture/landing-page)
380
+
:::
381
+
382
+
Sets the color of an element's outline. See [web documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/outline-color) for more details.
383
+
384
+
| Type |
385
+
| ------------------ |
386
+
|[color](colors.md)|
387
+
388
+
---
389
+
390
+
### `outlineOffset`
391
+
392
+
:::note
393
+
`outlineOffset` is only available on the [New Architecture](/architecture/landing-page)
394
+
:::
395
+
396
+
Sets the amount of space between an outline and the bounds of an element. Does not affect layout. See [web documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/outline-offset) for more details.
397
+
398
+
| Type |
399
+
| ------ |
400
+
| number |
401
+
402
+
---
403
+
404
+
### `outlineStyle`
405
+
406
+
:::note
407
+
`outlineStyle` is only available on the [New Architecture](/architecture/landing-page)
408
+
:::
409
+
410
+
Sets the style of an element's outline. See [web documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/outline-style) for more details.
411
+
412
+
| Type |
413
+
| --------------------------------------- |
414
+
| enum(`'solid'`, `'dotted'`, `'dashed'`) |
415
+
416
+
---
417
+
418
+
### `outlineWidth`
419
+
420
+
:::note
421
+
`outlineWidth` is only available on the [New Architecture](/architecture/landing-page)
422
+
:::
423
+
424
+
The width of an outline which is drawn around an element, outside the border. Does not affect layout. See [web documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/outline-width) for more details.
425
+
426
+
| Type |
427
+
| ------ |
428
+
| number |
429
+
430
+
---
431
+
374
432
### `pointerEvents`
375
433
376
434
Controls whether the `View` can be the target of touch events.
Copy file name to clipboardExpand all lines: website/versioned_docs/version-0.77/view-style-props.md
+58Lines changed: 58 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -371,6 +371,64 @@ The following filter functions work on Android only:
371
371
| ------ |
372
372
| number |
373
373
374
+
---
375
+
376
+
### `outlineColor`
377
+
378
+
:::note
379
+
`outlineColor` is only available on the [New Architecture](/architecture/landing-page)
380
+
:::
381
+
382
+
Sets the color of an element's outline. See [web documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/outline-color) for more details.
383
+
384
+
| Type |
385
+
| ------------------ |
386
+
|[color](colors.md)|
387
+
388
+
---
389
+
390
+
### `outlineOffset`
391
+
392
+
:::note
393
+
`outlineOffset` is only available on the [New Architecture](/architecture/landing-page)
394
+
:::
395
+
396
+
Sets the amount of space between an outline and the bounds of an element. Does not affect layout. See [web documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/outline-offset) for more details.
397
+
398
+
| Type |
399
+
| ------ |
400
+
| number |
401
+
402
+
---
403
+
404
+
### `outlineStyle`
405
+
406
+
:::note
407
+
`outlineStyle` is only available on the [New Architecture](/architecture/landing-page)
408
+
:::
409
+
410
+
Sets the style of an element's outline. See [web documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/outline-style) for more details.
411
+
412
+
| Type |
413
+
| --------------------------------------- |
414
+
| enum(`'solid'`, `'dotted'`, `'dashed'`) |
415
+
416
+
---
417
+
418
+
### `outlineWidth`
419
+
420
+
:::note
421
+
`outlineWidth` is only available on the [New Architecture](/architecture/landing-page)
422
+
:::
423
+
424
+
The width of an outline which is drawn around an element, outside the border. Does not affect layout. See [web documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/outline-width) for more details.
425
+
426
+
| Type |
427
+
| ------ |
428
+
| number |
429
+
430
+
---
431
+
374
432
### `pointerEvents`
375
433
376
434
Controls whether the `View` can be the target of touch events.
0 commit comments