Skip to content

Commit d6ef396

Browse files
authored
Update overlay.mdx
1 parent b9613d3 commit d6ef396

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

content/components/overlay.mdx

+1-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ import {AccessibilityLink} from '~/src/components/accessibility-link'
1616

1717
<Note variant="danger">
1818
<Text sx={{display: 'block', fontWeight: 'bold', mb: 2}}>⚠️ Usage Warning ⚠️</Text>
19-
<Text>
20-
Overlay is an internal component and is intended to be used as a private API, composing other components. It is not intended to be used on its own.
21-
22-
For a ready-to-use overlay-type component, consider <a href="/components/dialog">Dialog</a>, <a href="/components/selectpanel">Select Panel</a>, or <a href="/components/dialog">Action Menu</a>.
23-
</Text>
19+
<Text>Overlay is an internal component and is intended to be used as a private API, composing other components. It is not intended to be used on its own. For a ready-to-use overlay-type component, consider <a href="/components/dialog">Dialog</a>, <a href="/components/selectpanel">Select Panel</a>, or <a href="/components/dialog">Action Menu</a>.</Text>
2420
</Note>
2521

2622
The overlay component handles all behaviors needed by overlay UIs as well as the common styles that all overlays should have. Overlay is the internal, or base component for many of our overlay-type components. Overlays use shadows to express elevation.

0 commit comments

Comments
 (0)