mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-27 05:38:12 +00:00
Prefer import type when importing types
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import React, { ReactNode } from 'react';
|
||||
import type { ReactNode } from 'react';
|
||||
import React from 'react';
|
||||
|
||||
// Whenever you don't want click events to propagate into their parent container
|
||||
export const StopPropagation = ({
|
||||
|
||||
Reference in New Issue
Block a user