27 lines
737 B
JavaScript
27 lines
737 B
JavaScript
'use client';
|
|
|
|
import { __styles, mergeClasses } from '@griffel/react';
|
|
export const radioGroupClassNames = {
|
|
root: 'fui-RadioGroup'
|
|
};
|
|
const useStyles = /*#__PURE__*/__styles({
|
|
root: {
|
|
mc9l5x: "f22iagw",
|
|
Bt984gj: "f6jr5hl"
|
|
},
|
|
vertical: {
|
|
Beiy3e4: "f1vx9l62"
|
|
}
|
|
}, {
|
|
d: [".f22iagw{display:flex;}", ".f6jr5hl{align-items:flex-start;}", ".f1vx9l62{flex-direction:column;}"]
|
|
});
|
|
/**
|
|
* Apply styling to the RadioGroup slots based on the state
|
|
*/
|
|
export const useRadioGroupStyles_unstable = state => {
|
|
'use no memo';
|
|
|
|
const styles = useStyles();
|
|
state.root.className = mergeClasses(radioGroupClassNames.root, styles.root, state.layout === 'vertical' && styles.vertical, state.root.className);
|
|
return state;
|
|
}; |