Skip to content

Commit 652c925

Browse files
authored
Add missing syntax highlighting in View (facebook#4449)
1 parent 23742fe commit 652c925

File tree

8 files changed

+48
-48
lines changed

8 files changed

+48
-48
lines changed

docs/view.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -674,23 +674,23 @@ Controls whether the `View` can be the target of touch events.
674674
- `'none'`: The View is never the target of touch events.
675675
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:
676676

677-
```
677+
```css
678678
.box-none {
679-
pointer-events: none;
679+
pointer-events: none;
680680
}
681681
.box-none * {
682-
pointer-events: auto;
682+
pointer-events: auto;
683683
}
684684
```
685685

686686
- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:
687687

688-
```
688+
```css
689689
.box-only {
690-
pointer-events: auto;
690+
pointer-events: auto;
691691
}
692692
.box-only * {
693-
pointer-events: none;
693+
pointer-events: none;
694694
}
695695
```
696696

website/versioned_docs/version-0.70/view.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -539,23 +539,23 @@ Controls whether the `View` can be the target of touch events.
539539
- `'none'`: The View is never the target of touch events.
540540
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:
541541

542-
```
542+
```css
543543
.box-none {
544-
pointer-events: none;
544+
pointer-events: none;
545545
}
546546
.box-none * {
547-
pointer-events: auto;
547+
pointer-events: auto;
548548
}
549549
```
550550

551551
- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:
552552

553-
```
553+
```css
554554
.box-only {
555-
pointer-events: auto;
555+
pointer-events: auto;
556556
}
557557
.box-only * {
558-
pointer-events: none;
558+
pointer-events: none;
559559
}
560560
```
561561

website/versioned_docs/version-0.71/view.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -701,23 +701,23 @@ Controls whether the `View` can be the target of touch events.
701701
- `'none'`: The View is never the target of touch events.
702702
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:
703703

704-
```
704+
```css
705705
.box-none {
706-
pointer-events: none;
706+
pointer-events: none;
707707
}
708708
.box-none * {
709-
pointer-events: auto;
709+
pointer-events: auto;
710710
}
711711
```
712712

713713
- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:
714714

715-
```
715+
```css
716716
.box-only {
717-
pointer-events: auto;
717+
pointer-events: auto;
718718
}
719719
.box-only * {
720-
pointer-events: none;
720+
pointer-events: none;
721721
}
722722
```
723723

website/versioned_docs/version-0.72/view.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -666,23 +666,23 @@ Controls whether the `View` can be the target of touch events.
666666
- `'none'`: The View is never the target of touch events.
667667
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:
668668

669-
```
669+
```css
670670
.box-none {
671-
pointer-events: none;
671+
pointer-events: none;
672672
}
673673
.box-none * {
674-
pointer-events: auto;
674+
pointer-events: auto;
675675
}
676676
```
677677

678678
- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:
679679

680-
```
680+
```css
681681
.box-only {
682-
pointer-events: auto;
682+
pointer-events: auto;
683683
}
684684
.box-only * {
685-
pointer-events: none;
685+
pointer-events: none;
686686
}
687687
```
688688

website/versioned_docs/version-0.73/view.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -666,23 +666,23 @@ Controls whether the `View` can be the target of touch events.
666666
- `'none'`: The View is never the target of touch events.
667667
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:
668668

669-
```
669+
```css
670670
.box-none {
671-
pointer-events: none;
671+
pointer-events: none;
672672
}
673673
.box-none * {
674-
pointer-events: auto;
674+
pointer-events: auto;
675675
}
676676
```
677677

678678
- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:
679679

680-
```
680+
```css
681681
.box-only {
682-
pointer-events: auto;
682+
pointer-events: auto;
683683
}
684684
.box-only * {
685-
pointer-events: none;
685+
pointer-events: none;
686686
}
687687
```
688688

website/versioned_docs/version-0.74/view.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -666,23 +666,23 @@ Controls whether the `View` can be the target of touch events.
666666
- `'none'`: The View is never the target of touch events.
667667
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:
668668

669-
```
669+
```css
670670
.box-none {
671-
pointer-events: none;
671+
pointer-events: none;
672672
}
673673
.box-none * {
674-
pointer-events: auto;
674+
pointer-events: auto;
675675
}
676676
```
677677

678678
- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:
679679

680-
```
680+
```css
681681
.box-only {
682-
pointer-events: auto;
682+
pointer-events: auto;
683683
}
684684
.box-only * {
685-
pointer-events: none;
685+
pointer-events: none;
686686
}
687687
```
688688

website/versioned_docs/version-0.75/view.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -666,23 +666,23 @@ Controls whether the `View` can be the target of touch events.
666666
- `'none'`: The View is never the target of touch events.
667667
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:
668668

669-
```
669+
```css
670670
.box-none {
671-
pointer-events: none;
671+
pointer-events: none;
672672
}
673673
.box-none * {
674-
pointer-events: auto;
674+
pointer-events: auto;
675675
}
676676
```
677677

678678
- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:
679679

680-
```
680+
```css
681681
.box-only {
682-
pointer-events: auto;
682+
pointer-events: auto;
683683
}
684684
.box-only * {
685-
pointer-events: none;
685+
pointer-events: none;
686686
}
687687
```
688688

website/versioned_docs/version-0.76/view.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -674,23 +674,23 @@ Controls whether the `View` can be the target of touch events.
674674
- `'none'`: The View is never the target of touch events.
675675
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:
676676

677-
```
677+
```css
678678
.box-none {
679-
pointer-events: none;
679+
pointer-events: none;
680680
}
681681
.box-none * {
682-
pointer-events: auto;
682+
pointer-events: auto;
683683
}
684684
```
685685

686686
- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:
687687

688-
```
688+
```css
689689
.box-only {
690-
pointer-events: auto;
690+
pointer-events: auto;
691691
}
692692
.box-only * {
693-
pointer-events: none;
693+
pointer-events: none;
694694
}
695695
```
696696

0 commit comments

Comments
 (0)