-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button: Size 'large' vs 'lg' #4093
Labels
Type: Bug
Issue contains a defect related to a specific component.
Typescript
Issue or pull request is *only* related to TypeScript definition
Milestone
Comments
EduardoCastanho
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Feb 22, 2023
melloware
added
Component: Theme
Issue or pull request is related to Theme
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Feb 23, 2023
Yep the Typescript and docs are wrong. I will submit a PR. |
melloware
added
Component: Documentation
Issue or pull request is related to Documentation
Typescript
Issue or pull request is *only* related to TypeScript definition
and removed
Component: Theme
Issue or pull request is related to Theme
labels
Feb 23, 2023
melloware
added a commit
to melloware/primereact
that referenced
this issue
Feb 23, 2023
github-actions
bot
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Mar 2, 2023
melloware
removed
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Mar 2, 2023
mertsincan
pushed a commit
that referenced
this issue
Mar 3, 2023
mertsincan
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Component: Documentation
Issue or pull request is related to Documentation
labels
Mar 9, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Type: Bug
Issue contains a defect related to a specific component.
Typescript
Issue or pull request is *only* related to TypeScript definition
Describe the bug
hi
For defining the Button size the docs state we should use size="large"|"small"
but doesn't work
checking the code :
primereact/components/lib/button/Button.js
Line 65 in c5ef16d
The attribute size is transformed in a class for css
but nowhere to be found the corresponding class ' p-button-large' in themes css files
but we can find in all themes the class 'p-button-lg'
for example:
primereact/public/themes/nova-accent/theme.css
Line 1888 in c5ef16d
can you check this ?
Reproducer
No response
PrimeReact version
9.20
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
firefox
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: