mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Fixed #5621 - New Component: Tabs
This commit is contained in:
parent
53168665d4
commit
c80c3ad0ea
57 changed files with 3934 additions and 35 deletions
16
components/lib/tab/style/TabStyle.js
Normal file
16
components/lib/tab/style/TabStyle.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
import BaseStyle from 'primevue/base/style';
|
||||
|
||||
const classes = {
|
||||
root: ({ instance, props }) => [
|
||||
'p-tab',
|
||||
{
|
||||
'p-active': instance.active,
|
||||
'p-disabled': props.disabled
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default BaseStyle.extend({
|
||||
name: 'tab',
|
||||
classes
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue