Comments (7)
Actually accordiontab is right and tab is wrong. Let me fix.
from primereact.
PR submitted
from primereact.
Thx, but it looks like your PR does not touch the type definitions which should be adjusted as well.
from primereact.
Which type defs do you refer?
from primereact.
If i understand your PR right, you just changed the name of the field from tab
to accordiontab
. My initial issue was a different story:
PrimeReactPTOptions
says it has a accordiontab
field, but using it does not work.
AccordionPassThroughOptions
says it does not have a tab
or accordiontab
field, but using it does work.
So the following documentation does not match the types:
const Tailwind = {
accordion: {
root: 'mb-1',
tab: {} // this field is not valid as AccordionPassThroughOptions does not have a field `tab` or `accordiontab`
}
}
from primereact.
Yep it looks like tab/accordiontab has always been missing. Let me update.
from primereact.
OK updated my PR.
from primereact.
Related Issues (20)
- DataTable: scroll forced to top when inside "flex-column" container with virtual scrolling enabled HOT 8
- DataTable: FilterButton causes react warning in development <Invalid value for prop `id` on <div> tag> HOT 5
- DataTable: cellSelection type doesn't allow boolean values, only false or undefined HOT 1
- DataTable: Global SearchBar doesn't work with Date HOT 10
- Showcase: Icon Spacing incorrect HOT 2
- Calendar: unable typing time value
- InputOtp: Error while importing / using component - Could not read from file: /home/projects/hnzcsb--run/src/components/lib/inputtext/InputText HOT 1
- Stateful TreeTable?
- FlotaLabel: Type definitions are missing a children prop HOT 1
- MultiSelect: selectionLimit does not limit selections HOT 1
- Datatable filter re-render causing performance issue HOT 6
- Locale: prevent prototype pollution HOT 3
- Autocomplete component doesn't appear to be adding `key` to auto complete items HOT 1
- Password: icon with togglemask HOT 4
- Calendar: inputClassName doesn't work
- DataTable: Filter Custom StckBlitz doesn't work HOT 1
- DataTable - onContextMenu does not return row data HOT 2
- Password: Invalid PT props HOT 8
- TriStateCheckbox: Upgrading to 10.6.3 with Tailwind theme breaks component
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primereact.