mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-25 15:40:06 +03:00
Updates
This commit is contained in:
parent
4b704c6ca2
commit
5712dd78f9
|
@ -9,7 +9,7 @@ export type ArrowUpIconProps = Omit<
|
|||
/**
|
||||
* @see https://icons.getbootstrap.com/icons/arrow-up/
|
||||
*/
|
||||
export function ArrowUpIcon(props: ArrowUpIconProps): JSX.Element {
|
||||
export function ArrowUpIcon(props: ArrowUpIconProps): React.JSX.Element {
|
||||
return (
|
||||
<svg
|
||||
fill="currentColor"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
|
||||
export function NoRtkQueryApi(): JSX.Element {
|
||||
export function NoRtkQueryApi(): React.JSX.Element {
|
||||
return (
|
||||
<div
|
||||
css={(theme) => ({
|
||||
|
|
|
@ -9,7 +9,7 @@ export type RegexIconProps = Omit<
|
|||
// from https://commons.wikimedia.org/wiki/File:OOjs_UI_icon_regular-expression.svg
|
||||
export function RegexIcon(
|
||||
props: React.HTMLAttributes<SVGElement>,
|
||||
): JSX.Element {
|
||||
): React.JSX.Element {
|
||||
return (
|
||||
<svg fill="currentColor" {...props} viewBox="0 0 24 24">
|
||||
<g>
|
||||
|
|
|
@ -11,7 +11,7 @@ export function SortOrderButton({
|
|||
isAsc,
|
||||
onChange,
|
||||
id,
|
||||
}: SortOrderButtonProps): JSX.Element {
|
||||
}: SortOrderButtonProps): React.JSX.Element {
|
||||
const handleButtonClick = (): void => {
|
||||
if (!isAsc) {
|
||||
onChange(true);
|
||||
|
|
|
@ -2,7 +2,7 @@ import * as React from 'react';
|
|||
|
||||
export type UListProps = React.HTMLAttributes<HTMLUListElement>;
|
||||
|
||||
export function UList(props: UListProps): JSX.Element {
|
||||
export function UList(props: UListProps): React.JSX.Element {
|
||||
return (
|
||||
<ul
|
||||
{...props}
|
||||
|
|
|
@ -177,10 +177,7 @@ const tabs: ReadonlyArray<
|
|||
];
|
||||
|
||||
export class QueryPreview<S> extends React.PureComponent<QueryPreviewProps<S>> {
|
||||
renderLabelWithCounter = (
|
||||
label: React.ReactText,
|
||||
counter: number,
|
||||
): string => {
|
||||
renderLabelWithCounter = (label: string, counter: number): string => {
|
||||
let counterAsString = counter.toFixed(0);
|
||||
|
||||
if (counterAsString.length > 3) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user