naria-ui 0.5.4 → 0.5.5

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.
@@ -10,19 +10,25 @@ export interface Props {
10
10
  input?: string;
11
11
  };
12
12
  }
13
- export declare const CheckboxIndicator: ({ children, classNames }: {
14
- children?: React.ReactNode;
15
- classNames?: {
16
- indicator?: string;
17
- icon?: string;
18
- };
19
- }) => import("react/jsx-runtime").JSX.Element;
20
- export declare const CheckboxContent: ({ children, classNames }: {
21
- children?: React.ReactNode;
22
- classNames?: {
23
- content?: string;
24
- };
25
- }) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const CheckboxIndicator: {
14
+ ({ children, classNames }: {
15
+ children?: React.ReactNode;
16
+ classNames?: {
17
+ indicator?: string;
18
+ icon?: string;
19
+ };
20
+ }): import("react/jsx-runtime").JSX.Element;
21
+ displayName: string;
22
+ };
23
+ export declare const CheckboxContent: {
24
+ ({ children, classNames }: {
25
+ children?: React.ReactNode;
26
+ classNames?: {
27
+ content?: string;
28
+ };
29
+ }): import("react/jsx-runtime").JSX.Element;
30
+ displayName: string;
31
+ };
26
32
  interface CheckboxComponent extends FC<Props> {
27
33
  Indicator: typeof CheckboxIndicator;
28
34
  Content: typeof CheckboxContent;
@@ -1,8 +1,8 @@
1
- import { default as React, FC, ReactElement, ReactNode } from 'react';
1
+ import { default as React, FC, ReactNode } from 'react';
2
2
  export interface TabsProps {
3
3
  value: number;
4
4
  onChange: (index: number) => void;
5
- children: ReactElement[];
5
+ children: ReactNode;
6
6
  prevIcon?: ReactNode | string;
7
7
  nextIcon?: ReactNode | string;
8
8
  classNames?: {
package/dist/light.scss CHANGED
@@ -1,9 +1,9 @@
1
- .test {
2
- color: red;
3
- &.x {
4
- background-color: yellow;
5
- }
6
- & .y {
7
- color: blue;
8
- }
1
+ .test {
2
+ color: red;
3
+ &.x {
4
+ background-color: yellow;
5
+ }
6
+ & .y {
7
+ color: blue;
8
+ }
9
9
  }