Skip to content

Commit

Permalink
pointed users to action menu from dropdown and removed dropdown from …
Browse files Browse the repository at this point in the history
…nav yml
  • Loading branch information
emilybrick committed Jun 28, 2023
1 parent 2a4f021 commit 5a0d6c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 4 additions & 3 deletions content/components/dropdown.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ railsIds:
---

import ComponentLayout from '~/src/layouts/component-layout'
import {Text} from '@primer/react'
import {Link, Text} from '@primer/react'
import {Link as GatsbyLink} from 'gatsby'
export default ComponentLayout

<Note variant="warning">
<Text sx={{display: 'block', fontWeight: 'bold', mb: 2}}>Work in progress</Text>
We are currently working on general guidance for this component.
<Text sx={{display: 'block', fontWeight: 'bold', mb: 2}}>Usage for this component is not encouraged</Text>
<Text>Instead, please see <Link as={GatsbyLink} to="/components/action-menu">action menu</Link>.</Text>
</Note>
2 changes: 0 additions & 2 deletions src/@primer/gatsby-theme-doctocat/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,6 @@
url: /components/details
- title: Dialog
url: /components/dialog
- title: Dropdown
url: /components/dropdown
- title: Filter input
url: /components/filter-input
- title: Flash
Expand Down

0 comments on commit 5a0d6c1

Please sign in to comment.