Skip to content
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

Merged
merged 1 commit into from
Jun 13, 2022
Merged

Conversation

pantkunalkp
Copy link
Contributor

image

},
badgeInset: badgeInsetProp = 0,
className,
component = 'span',
component = "span",

Check failure

Code scanning / ESLint

Prevent missing props validation in a React component definition

'component' is missing in props validation
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' is missing in props validation
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

'color' is missing in props validation
invisible: invisibleProp = false,
max,
badgeContent: badgeContentProp = '',
badgeContent: badgeContentProp = "",

Check failure

Code scanning / ESLint

Prevent missing props validation in a React component definition

'badgeContent' is missing in props validation
showZero = false,
variant: variantProp = 'solid',
variant: variantProp = "solid",

Check failure

Code scanning / ESLint

Prevent missing props validation in a React component definition

'variant' is missing in props validation
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

Forbidden non-null assertion.
[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

Forbidden non-null assertion.
[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

Forbidden non-null assertion.
[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

Forbidden non-null assertion.
@navneetlal navneetlal changed the title Badges css [Badge] add badge component Jun 13, 2022
@navneetlal navneetlal merged commit aa8f87a into radiant-design:main Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants