Skip to content

Commit 5becff7

Browse files
committed
Add experimental and canary banners
1 parent f9b0753 commit 5becff7

11 files changed

+34
-18
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
:::important Canary 🧪
2+
3+
**This API is currently only available in React Native’s Canary and Experimental channels.**
4+
5+
[Learn more about React Native’s release channels here.](releases/release-levels)
6+
7+
:::
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
:::important Experimental Feature 🧪
2+
3+
**This API is experimental and is not available in a stable version of React Native yet.**
4+
5+
Experimental APIs may contain bugs and are likely to change in a future version of React Native. Don't use them in production.
6+
7+
If you want to try it out, please [enable the Experimental Channel](releases/release-levels) in your app.
8+
9+
:::

docs/global-EventCounts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ id: global-EventCounts
33
title: EventCounts 🧪
44
---
55

6-
import ExperimentalAPIWarning from './\_experimental-api-warning.mdx';
6+
import CanaryAPIWarning from './\_canary-channel-api-warning.mdx';
77

8-
<ExperimentalAPIWarning />
8+
<CanaryAPIWarning />
99

1010
The global [`EventCounts`](https://developer.mozilla.org/en-US/docs/Web/API/EventCounts) class, as defined in Web specifications.

docs/global-PerformanceEntry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ id: global-PerformanceEntry
33
title: PerformanceEntry 🧪
44
---
55

6-
import ExperimentalAPIWarning from './\_experimental-api-warning.mdx';
6+
import CanaryAPIWarning from './\_canary-channel-api-warning.mdx';
77

8-
<ExperimentalAPIWarning />
8+
<CanaryAPIWarning />
99

1010
The global [`PerformanceEntry`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry) class, as defined in Web specifications.

docs/global-PerformanceEventTiming.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ id: global-PerformanceEventTiming
33
title: PerformanceEventTiming 🧪
44
---
55

6-
import ExperimentalAPIWarning from './\_experimental-api-warning.mdx';
6+
import CanaryAPIWarning from './\_canary-channel-api-warning.mdx';
77

8-
<ExperimentalAPIWarning />
8+
<CanaryAPIWarning />
99

1010
The global [`PerformanceEventTiming`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEventTiming) class, as defined in Web specifications.
1111

docs/global-PerformanceLongTaskTiming.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ id: global-PerformanceLongTaskTiming
33
title: PerformanceLongTaskTiming 🧪
44
---
55

6-
import ExperimentalAPIWarning from './\_experimental-api-warning.mdx';
6+
import CanaryAPIWarning from './\_canary-channel-api-warning.mdx';
77

8-
<ExperimentalAPIWarning />
8+
<CanaryAPIWarning />
99

1010
The global [`PerformanceLongTaskTiming`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceLongTaskTiming) class, as defined in Web specifications.
1111

docs/global-PerformanceMark.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ id: global-PerformanceMark
33
title: PerformanceMark 🧪
44
---
55

6-
import ExperimentalAPIWarning from './\_experimental-api-warning.mdx';
6+
import CanaryAPIWarning from './\_canary-channel-api-warning.mdx';
77

8-
<ExperimentalAPIWarning />
8+
<CanaryAPIWarning />
99

1010
The global [`PerformanceMark`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceMark) class, as defined in Web specifications.

docs/global-PerformanceMeasure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ id: global-PerformanceMeasure
33
title: PerformanceMeasure 🧪
44
---
55

6-
import ExperimentalAPIWarning from './\_experimental-api-warning.mdx';
6+
import CanaryAPIWarning from './\_canary-channel-api-warning.mdx';
77

8-
<ExperimentalAPIWarning />
8+
<CanaryAPIWarning />
99

1010
The global [`PerformanceMeasure`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceMeasure) class, as defined in Web specifications.

docs/global-PerformanceObserver.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ id: global-PerformanceObserver
33
title: PerformanceObserver 🧪
44
---
55

6-
import ExperimentalAPIWarning from './\_experimental-api-warning.mdx';
6+
import CanaryAPIWarning from './\_canary-channel-api-warning.mdx';
77

8-
<ExperimentalAPIWarning />
8+
<CanaryAPIWarning />
99

1010
The global [`PerformanceObserver`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver) class, as defined in Web specifications.
1111

docs/global-PerformanceObserverEntryList.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ id: global-PerformanceObserverEntryList
33
title: PerformanceObserverEntryList 🧪
44
---
55

6-
import ExperimentalAPIWarning from './\_experimental-api-warning.mdx';
6+
import CanaryAPIWarning from './\_canary-channel-api-warning.mdx';
77

8-
<ExperimentalAPIWarning />
8+
<CanaryAPIWarning />
99

1010
The global [`PerformanceObserverEntryList`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList) class, as defined in Web specifications.

0 commit comments

Comments
 (0)