@openware/components
Advanced tools
Comparing version 2.0.32 to 2.0.33
import * as React from 'react'; | ||
interface LoaderProps { | ||
/** | ||
* Defines the size of a loader | ||
* @default 30 | ||
*/ | ||
size?: number; | ||
/** | ||
* Additional classname | ||
@@ -10,0 +5,0 @@ */ |
@@ -11,7 +11,15 @@ import * as React from 'react'; | ||
children?: string | number; | ||
/** | ||
* Number of highlighted digits (without opacity) starting from the end | ||
* By default only integer part of the number is highlighted | ||
*/ | ||
highlightedNumbersAmount?: number; | ||
} | ||
declare class Decimal extends React.Component<DecimalProps> { | ||
static format(value: DecimalProps['children'], fixed: number): string; | ||
static getNumberBeforeDot(value: DecimalProps['children'], fixed: number): number; | ||
static getNumberAfterDot(value: DecimalProps['children'], fixed: number): string | undefined; | ||
render(): JSX.Element; | ||
private highlightNumbers; | ||
} | ||
export { Decimal, DecimalProps, }; |
import * as React from 'react'; | ||
interface LoaderProps { | ||
/** | ||
* Defines the size of a loader | ||
* @default 30 | ||
*/ | ||
size?: number; | ||
/** | ||
* Additional classname | ||
@@ -10,0 +5,0 @@ */ |
@@ -11,7 +11,15 @@ import * as React from 'react'; | ||
children?: string | number; | ||
/** | ||
* Number of highlighted digits (without opacity) starting from the end | ||
* By default only integer part of the number is highlighted | ||
*/ | ||
highlightedNumbersAmount?: number; | ||
} | ||
declare class Decimal extends React.Component<DecimalProps> { | ||
static format(value: DecimalProps['children'], fixed: number): string; | ||
static getNumberBeforeDot(value: DecimalProps['children'], fixed: number): number; | ||
static getNumberAfterDot(value: DecimalProps['children'], fixed: number): string | undefined; | ||
render(): JSX.Element; | ||
private highlightNumbers; | ||
} | ||
export { Decimal, DecimalProps, }; |
{ | ||
"name": "@openware/components", | ||
"version": "2.0.32", | ||
"version": "2.0.33", | ||
"description": "CryptoBase React UI Components", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -6,3 +6,3 @@ Decimal format example: | ||
Decimal.format(123131.232, fixed) | ||
<Decimal fixed={fixed} highlightedNumbersAmount={3}>1234.56789</Decimal> | ||
``` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2709143
430
17101
3