-
ScreenshotCodeexport function SelectField() {
return (
<SelectRoot>
<SelectTrigger placeholder='Select one' radius='medium' />
<SelectContent>
<SelectItem value='1'>Option 1</SelectItem>
<SelectItem value='2'>Option 2</SelectItem>
<SelectItem value='3'>Option 3</SelectItem>
<SelectItem value='4'>Option 4</SelectItem>
</SelectContent>
</SelectRoot>
)
} |
Beta Was this translation helpful? Give feedback.
Answered by
vladmoroz
Oct 12, 2023
Replies: 1 comment 1 reply
-
Hey, for panels like Select and Dropdown Menu Content, Dialogs, Card, Table, the radius is controlled only via the Theme radius prop, as most of the time you want all panels to feel similar. You can override the radius via own prop only for form components like Button or Text Field. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lamualfa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, for panels like Select and Dropdown Menu Content, Dialogs, Card, Table, the radius is controlled only via the Theme radius prop, as most of the time you want all panels to feel similar. You can override the radius via own prop only for form components like Button or Text Field.