Skip to content

Commit

Permalink
Change checkableTag format
Browse files Browse the repository at this point in the history
  • Loading branch information
tibuurcio committed Jan 24, 2024
1 parent a563358 commit cadca52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/data-display/Tag/Tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ export const Tag = (props: ITagProps) => {
)
}

Tag.CheckableTag = function CheckableTag(props: CheckableTagProps) {
const CheckableTag = (props: CheckableTagProps) => {
return (
<ConfigProvider>
<AntTag.CheckableTag {...props} />
</ConfigProvider>
)
}

Tag.CheckableTag = CheckableTag

0 comments on commit cadca52

Please sign in to comment.