mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Remove unused unstyled mode checks
This commit is contained in:
parent
db4589c4c6
commit
34d2b65236
3 changed files with 0 additions and 40 deletions
|
@ -1,8 +1,5 @@
|
|||
<script>
|
||||
import BaseComponent from 'primevue/basecomponent';
|
||||
import { useStyle } from 'primevue/usestyle';
|
||||
|
||||
const styles = ``;
|
||||
|
||||
const classes = {
|
||||
root: ({ instance, props }) => [
|
||||
|
@ -26,8 +23,6 @@ const classes = {
|
|||
label: 'p-button-label'
|
||||
};
|
||||
|
||||
const { load: loadStyle, unload: unloadStyle } = useStyle(styles, { id: 'primevue_togglebutton_style', manual: true });
|
||||
|
||||
export default {
|
||||
name: 'BaseToggleButton',
|
||||
extends: BaseComponent,
|
||||
|
@ -82,14 +77,6 @@ export default {
|
|||
},
|
||||
css: {
|
||||
classes
|
||||
},
|
||||
watch: {
|
||||
isUnstyled: {
|
||||
immediate: true,
|
||||
handler(newValue) {
|
||||
!newValue && loadStyle();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue