2023-10-02 10:46:09 +00:00
|
|
|
import BaseStyle from 'primevue/base/style';
|
|
|
|
|
|
|
|
const classes = {
|
|
|
|
root: ({ props }) => [
|
|
|
|
'p-fieldset p-component',
|
|
|
|
{
|
|
|
|
'p-fieldset-toggleable': props.toggleable
|
|
|
|
}
|
|
|
|
],
|
|
|
|
legend: 'p-fieldset-legend',
|
2024-04-08 15:41:16 +00:00
|
|
|
legendtitle: 'p-fieldset-legend-label',
|
|
|
|
togglericon: 'p-fieldset-toggle-icon',
|
|
|
|
toggleablecontent: 'p-fieldset-content-container',
|
2023-10-02 10:46:09 +00:00
|
|
|
content: 'p-fieldset-content'
|
|
|
|
};
|
|
|
|
|
|
|
|
export default BaseStyle.extend({
|
|
|
|
name: 'fieldset',
|
|
|
|
classes
|
|
|
|
});
|