-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Badge] add badge component #5
Conversation
pantkunalkp
commented
Jun 12, 2022
}, | ||
badgeInset: badgeInsetProp = 0, | ||
className, | ||
component = 'span', | ||
component = "span", |
Check failure
Code scanning / ESLint
Prevent missing props validation in a React component definition
components = {}, | ||
componentsProps = {}, | ||
size: sizeProp = 'md', | ||
color: colorProp = 'primary', | ||
size: sizeProp = "md", |
Check failure
Code scanning / ESLint
Prevent missing props validation in a React component definition
size: sizeProp = 'md', | ||
color: colorProp = 'primary', | ||
size: sizeProp = "md", | ||
color: colorProp = "primary", |
Check failure
Code scanning / ESLint
Prevent missing props validation in a React component definition
invisible: invisibleProp = false, | ||
max, | ||
badgeContent: badgeContentProp = '', | ||
badgeContent: badgeContentProp = "", |
Check failure
Code scanning / ESLint
Prevent missing props validation in a React component definition
showZero = false, | ||
variant: variantProp = 'solid', | ||
variant: variantProp = "solid", |
Check failure
Code scanning / ESLint
Prevent missing props validation in a React component definition
backgroundColor: theme.vars.palette.background.body, | ||
}), | ||
[ownerState.anchorOrigin!.vertical]: inset[ownerState.anchorOrigin!.vertical], | ||
[ownerState.anchorOrigin!.horizontal]: inset[ownerState.anchorOrigin!.horizontal], | ||
[ownerState.anchorOrigin!.vertical]: |
Check warning
Code scanning / ESLint
Disallows non-null assertions using the `!` postfix operator
[ownerState.anchorOrigin!.vertical]: inset[ownerState.anchorOrigin!.vertical], | ||
[ownerState.anchorOrigin!.horizontal]: inset[ownerState.anchorOrigin!.horizontal], | ||
[ownerState.anchorOrigin!.vertical]: | ||
inset[ownerState.anchorOrigin!.vertical], |
Check warning
Code scanning / ESLint
Disallows non-null assertions using the `!` postfix operator
[ownerState.anchorOrigin!.horizontal]: inset[ownerState.anchorOrigin!.horizontal], | ||
[ownerState.anchorOrigin!.vertical]: | ||
inset[ownerState.anchorOrigin!.vertical], | ||
[ownerState.anchorOrigin!.horizontal]: |
Check warning
Code scanning / ESLint
Disallows non-null assertions using the `!` postfix operator
[ownerState.anchorOrigin!.vertical]: | ||
inset[ownerState.anchorOrigin!.vertical], | ||
[ownerState.anchorOrigin!.horizontal]: | ||
inset[ownerState.anchorOrigin!.horizontal], |
Check warning
Code scanning / ESLint
Disallows non-null assertions using the `!` postfix operator