/** * Copyright (c) TonTech. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import type { ComponentProps } from 'react'; /** * Standard props for all icon components. * * Icons render an `` whose dimensions are controlled by `size`. Color is * inherited from `currentColor`, so style icons by setting `color` on a parent. */ export interface IconProps extends Omit, 'width' | 'height'> { size?: number; } /** Default size in pixels for all icons. Override via the `size` prop. */ export const DEFAULT_ICON_SIZE = 24;