-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: deprecated badge on one of any of buttons (#1930)
- Loading branch information
1 parent
fe67e9c
commit f60b475
Showing
6 changed files
with
92 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
src/components/__tests__/__snapshots__/OneOfSchema.test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Components SchemaView OneOf deprecated should match snapshot 1`] = ` | ||
<div> | ||
<span | ||
class="sc-kfYoZR juYXUf" | ||
> | ||
One of | ||
</span> | ||
<div | ||
class="sc-dlMDgC EoFth" | ||
> | ||
<button | ||
class="sc-fKgJPI iEPbLk" | ||
> | ||
string | ||
</button> | ||
<button | ||
class="sc-fKgJPI bpjiHN" | ||
> | ||
integer | ||
</button> | ||
</div> | ||
<div> | ||
<span | ||
class="sc-bqGGPW eSYQnm" | ||
type="warning" | ||
> | ||
Deprecated | ||
</span> | ||
</div> | ||
<div> | ||
<div> | ||
<div> | ||
<span | ||
class="sc-fbIWvP sc-FRrlG CMpTe bBFKjV" | ||
/> | ||
<span | ||
class="sc-fbIWvP sc-fXazdy CMpTe gJKPGC" | ||
> | ||
string | ||
</span> | ||
</div> | ||
<div> | ||
<div | ||
class="sc-iBzEeX sc-cOifOu dFWqin hjSJYo" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters