@xsolla/xui-primitives-core 0.99.0 → 0.101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,22 +1,8 @@
|
|
|
1
1
|
# @xsolla/xui-primitives-core
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
yarn add @xsolla/xui-primitives-core
|
|
9
|
-
```
|
|
3
|
+
> **Internal package — do not use directly.** This package is used internally to build toolkit components. Consumers should use the published components (e.g. `@xsolla/xui-button`, `@xsolla/xui-controls`).
|
|
10
4
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
```tsx
|
|
14
|
-
import type { BoxProps, TextProps, InputPrimitiveProps } from '@xsolla/xui-primitives-core';
|
|
15
|
-
|
|
16
|
-
interface MyBoxProps extends BoxProps {
|
|
17
|
-
highlight?: boolean;
|
|
18
|
-
}
|
|
19
|
-
```
|
|
5
|
+
Shared TypeScript types for cross-platform primitive components in the XUI toolkit.
|
|
20
6
|
|
|
21
7
|
## Exports
|
|
22
8
|
|