mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 00:40:34 +01:00
feat(RadioGroup): new component (#730)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -598,6 +598,14 @@ export const selectMenu = {
|
||||
}
|
||||
}
|
||||
|
||||
export const radioGroup = {
|
||||
wrapper: 'relative flex items-start',
|
||||
legend: 'text-sm font-medium text-gray-700 dark:text-gray-200 mb-1',
|
||||
default: {
|
||||
color: 'primary'
|
||||
}
|
||||
}
|
||||
|
||||
export const radio = {
|
||||
wrapper: 'relative flex items-start',
|
||||
base: 'h-4 w-4 dark:checked:bg-current dark:checked:border-transparent disabled:opacity-50 disabled:cursor-not-allowed focus:ring-0 focus:ring-transparent focus:ring-offset-transparent',
|
||||
|
||||
Reference in New Issue
Block a user