@sinco/react 1.1.2-rc.97 → 1.2.0-rc.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.1.2-rc.97",
3
+ "version": "1.2.0-rc.0",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -19,4 +19,4 @@
19
19
  "module": "./index.esm.js",
20
20
  "type": "module",
21
21
  "main": "./index.esm.js"
22
- }
22
+ }
@@ -1,11 +1,11 @@
1
1
  import React, { FC } from 'react';
2
2
  type RadioPosition = 'left' | 'right';
3
- type RadioStates = 'active' | 'disabled';
3
+ type Radiostate = 'active' | 'disabled' | 'default';
4
4
  type CardRadioColors = 'primary' | 'secondary';
5
5
  export interface CardRadioProps {
6
6
  RadioPosition?: RadioPosition;
7
7
  topRadioPosition?: boolean;
8
- states?: RadioStates;
8
+ state?: Radiostate;
9
9
  media?: React.ReactNode;
10
10
  header?: React.ReactNode | string;
11
11
  content?: React.ReactNode | string;