Skip to content

docs(select): add more examples#2107

Open
anitavincent wants to merge 1 commit intomainfrom
feat/select-examples
Open

docs(select): add more examples#2107
anitavincent wants to merge 1 commit intomainfrom
feat/select-examples

Conversation

@anitavincent
Copy link
Contributor

Summary

Adds more examples for the select component, to support users and possibly AI agents in the future

@anitavincent anitavincent requested a review from a team as a code owner June 2, 2025 20:31
@vercel
Copy link
Contributor

vercel bot commented Jun 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
shoreline-docs ❌ Failed (Inspect) Jun 2, 2025 8:34pm


export default function Example() {
const [value, setValue] = useState<string | string[]>('Apple')
const placeholder = 'Select a fruit'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the recommended way of adding placeholders for a composable select?

export default function Example() {
const [value, setValue] = useState('')
const [searchValue, setSearchValue] = useState('')
const placeholder = 'Select a fruit'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the recommended way of adding placeholders for a composable select?

@marcelovicentegc marcelovicentegc added the documentation Improvements or additions to documentation label Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants