reactive-bulma 1.10.1 → 1.10.3
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +157 -32
- package/dist/cjs/index.js +13 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/functions/parsers.d.ts +16 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/functions/parsers.d.ts +16 -0
- package/package.json +1 -1
- package/dist/cjs/types/functions/persers.d.ts +0 -3
- package/dist/esm/types/functions/persers.d.ts +0 -3
@@ -0,0 +1,16 @@
|
|
1
|
+
import { ParseTestIdProps } from '../interfaces/functionProps';
|
2
|
+
/**
|
3
|
+
*
|
4
|
+
* @param { Array<string | null> } _classes Required. Array of classNames on `string` (or `null`) values
|
5
|
+
* @returns { string } A single string product of merge all classNames, separated by spaces
|
6
|
+
*/
|
7
|
+
export declare const parseClasses: (_classes: Array<string | null>) => string;
|
8
|
+
/**
|
9
|
+
*
|
10
|
+
* @param { ParseTestIdProps } config Configuration of tag, parsedClasses and tag
|
11
|
+
* @param { string } config.tag Required. Component tag used between to build the final testId string.
|
12
|
+
* @param { string } config.parsedClasses Required. A single string of previously parsed classes what will be joined with `tag` property.
|
13
|
+
* @param { string } config.separator Optional. `''` by default. Will replace final string empty spaces with a configurable string.
|
14
|
+
* @returns A single string product of merge all classNames, separated by `separator` value
|
15
|
+
*/
|
16
|
+
export declare const parseTestId: (config: ParseTestIdProps) => string;
|
package/package.json
CHANGED