@ballistix.digital/react-components 0.1.5 → 0.1.6

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.
Files changed (63) hide show
  1. package/dist/@types/components/Element/Avatar/AvatarElement.d.ts +17 -0
  2. package/dist/@types/components/Element/Avatar/AvatarElement.styles.d.ts +14 -0
  3. package/dist/@types/components/Element/Avatar/index.d.ts +3 -0
  4. package/dist/@types/components/Element/Badge/BadgeElement.d.ts +15 -0
  5. package/dist/@types/components/Element/Badge/BadgeElement.styles.d.ts +11 -0
  6. package/dist/@types/components/Element/Badge/index.d.ts +3 -0
  7. package/dist/@types/components/Element/Button/ButtonElement.d.ts +15 -0
  8. package/dist/@types/components/Element/Button/ButtonElement.styles.d.ts +9 -0
  9. package/dist/@types/components/Element/Button/index.d.ts +3 -0
  10. package/dist/@types/components/Element/ButtonGroup/ButtonGroupElement.d.ts +8 -0
  11. package/dist/@types/components/Element/ButtonGroup/ButtonGroupElement.styles.d.ts +12 -0
  12. package/dist/@types/components/Element/ButtonGroup/index.d.ts +3 -0
  13. package/dist/@types/components/Element/Dropdown/DropdownElement.d.ts +15 -0
  14. package/dist/@types/components/Element/Dropdown/DropdownElement.styles.d.ts +15 -0
  15. package/dist/@types/components/Element/Dropdown/index.d.ts +3 -0
  16. package/dist/@types/components/Layout/Container/ContainerLayout.d.ts +9 -0
  17. package/dist/@types/components/Layout/Container/ContainerLayout.styles.d.ts +17 -0
  18. package/dist/@types/components/Layout/Container/index.d.ts +3 -0
  19. package/dist/@types/components/Layout/Divider/DividerLayout.d.ts +9 -0
  20. package/dist/@types/components/Layout/Divider/DividerLayout.styles.d.ts +13 -0
  21. package/dist/@types/components/Layout/Divider/index.d.ts +3 -0
  22. package/dist/@types/components/Layout/ListContainer/ListContainerLayout.d.ts +9 -0
  23. package/dist/@types/components/Layout/ListContainer/ListContainerLayout.styles.d.ts +11 -0
  24. package/dist/@types/components/Layout/ListContainer/index.d.ts +3 -0
  25. package/dist/@types/components/Layout/MediaObject/MediaObjectLayout.d.ts +12 -0
  26. package/dist/@types/components/Layout/MediaObject/MediaObjectLayout.styles.d.ts +13 -0
  27. package/dist/@types/components/Layout/MediaObject/index.d.ts +3 -0
  28. package/dist/@types/components/Layout/Panel/PanelLayout.d.ts +16 -0
  29. package/dist/@types/components/Layout/Panel/PanelLayout.styles.d.ts +6 -0
  30. package/dist/@types/components/Layout/Panel/index.d.ts +3 -0
  31. package/dist/@types/components/Navigation/Breadcrumbs/BreadcrumbsNavigation.d.ts +15 -0
  32. package/dist/@types/components/Navigation/Breadcrumbs/BreadcrumbsNavigation.styles.d.ts +145 -0
  33. package/dist/@types/components/Navigation/Breadcrumbs/index.d.ts +3 -0
  34. package/dist/@types/components/Navigation/PagePagination/PagePaginationNavigation.d.ts +10 -0
  35. package/dist/@types/components/Navigation/PagePagination/PagePaginationNavigation.styles.d.ts +45 -0
  36. package/dist/@types/components/Navigation/PagePagination/index.d.ts +3 -0
  37. package/dist/@types/components/Navigation/PanelPagination/PanelPagination.d.ts +15 -0
  38. package/dist/@types/components/Navigation/PanelPagination/PanelPagination.styles.d.ts +43 -0
  39. package/dist/@types/components/Navigation/PanelPagination/index.d.ts +3 -0
  40. package/dist/@types/components/Navigation/Sidebar/SidebarNavigation.d.ts +35 -0
  41. package/dist/@types/components/Navigation/Sidebar/SidebarNavigation.styles.d.ts +29 -0
  42. package/dist/@types/components/Navigation/Sidebar/index.d.ts +3 -0
  43. package/dist/@types/components/Navigation/Tab/TabNavigation.d.ts +34 -0
  44. package/dist/@types/components/Navigation/Tab/TabNavigation.styles.d.ts +49 -0
  45. package/dist/@types/components/Navigation/Tab/index.d.ts +3 -0
  46. package/dist/@types/components/Navigation/Vertical/VerticalNavigation.d.ts +34 -0
  47. package/dist/@types/components/Navigation/Vertical/VerticalNavigation.styles.d.ts +23 -0
  48. package/dist/@types/components/Navigation/Vertical/index.d.ts +3 -0
  49. package/dist/@types/components/Overlay/Modal/ModalOverlay.d.ts +16 -0
  50. package/dist/@types/components/Overlay/Modal/ModalOverlay.styles.d.ts +64 -0
  51. package/dist/@types/components/Overlay/Modal/index.d.ts +3 -0
  52. package/dist/@types/components/Overlay/Notification/NotificationOverlay.d.ts +22 -0
  53. package/dist/@types/components/Overlay/Notification/NotificationOverlay.styles.d.ts +67 -0
  54. package/dist/@types/components/Overlay/Notification/index.d.ts +3 -0
  55. package/dist/@types/components/Overlay/SlideOver/SlideOverOverlay.d.ts +16 -0
  56. package/dist/@types/components/Overlay/SlideOver/SlideOverOverlay.styles.d.ts +66 -0
  57. package/dist/@types/components/Overlay/SlideOver/index.d.ts +3 -0
  58. package/dist/@types/index.d.ts +19 -0
  59. package/dist/index.esm.js +425 -303
  60. package/dist/index.esm.js.map +1 -1
  61. package/dist/index.js +442 -305
  62. package/dist/index.js.map +1 -1
  63. package/package.json +3 -2
@@ -0,0 +1,17 @@
1
+ import { FC, ReactNode } from 'react';
2
+
3
+ import { StylesType } from '.';
4
+ export interface Props {
5
+ src?: string | undefined;
6
+ placeholder?: string | undefined;
7
+ children?: ReactNode | ReactNode[] | string;
8
+ url?: string;
9
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
10
+ figure?: 'block' | 'rounded';
11
+ status?: 'offline' | 'online' | 'blocked';
12
+ isDisabled?: boolean;
13
+ isLoading?: boolean;
14
+ styles?: StylesType;
15
+ }
16
+ declare const AvatarElement: FC<Props>;
17
+ export default AvatarElement;
@@ -0,0 +1,14 @@
1
+ export type StylesType = {
2
+ loading?: string;
3
+ empty?: string;
4
+ placeholder?: string;
5
+ container?: string;
6
+ indicator?: string;
7
+ spinner?: string;
8
+ };
9
+ declare const styles: {
10
+ [Key in StylesType as string]: {
11
+ [key: string]: string;
12
+ };
13
+ };
14
+ export default styles;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './AvatarElement.styles';
2
+ export { default } from './AvatarElement';
3
+ export { default as styles } from './AvatarElement.styles';
@@ -0,0 +1,15 @@
1
+ import { ReactNode, FC } from 'react';
2
+ import { StylesType } from '.';
3
+ export interface Props {
4
+ children: string | ReactNode;
5
+ color?: 'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink';
6
+ type?: 'normal' | 'indicator' | 'close';
7
+ size?: 'sm' | 'lg';
8
+ figure?: 'block' | 'rounded';
9
+ isDisabled?: boolean;
10
+ isLoading?: boolean;
11
+ onClose?: () => void;
12
+ styles?: StylesType;
13
+ }
14
+ declare const BadgeElement: FC<Props>;
15
+ export default BadgeElement;
@@ -0,0 +1,11 @@
1
+ export type StylesType = {
2
+ container?: string;
3
+ indicator?: string;
4
+ button?: string;
5
+ };
6
+ declare const styles: {
7
+ [selector: string]: {
8
+ [key: string]: string;
9
+ };
10
+ };
11
+ export default styles;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './BadgeElement.styles';
2
+ export { default } from './BadgeElement';
3
+ export { default as styles } from './BadgeElement.styles';
@@ -0,0 +1,15 @@
1
+ import { ReactNode, FC } from 'react';
2
+ import { StylesType } from '.';
3
+ import '../../../styles/index.css';
4
+ export interface Props {
5
+ children: string | ReactNode;
6
+ type?: 'primary' | 'secondary' | 'outline';
7
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
8
+ figure?: 'block' | 'rounded';
9
+ status?: 'idle' | 'loading' | 'success' | 'error';
10
+ isDisabled?: boolean;
11
+ styles?: StylesType;
12
+ onClick: () => void;
13
+ }
14
+ declare const ButtonElement: FC<Props>;
15
+ export default ButtonElement;
@@ -0,0 +1,9 @@
1
+ export type StylesType = {
2
+ container?: string;
3
+ };
4
+ declare const styles: {
5
+ [selector: string]: {
6
+ [key: string]: string;
7
+ };
8
+ };
9
+ export default styles;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './ButtonElement.styles';
2
+ export { default } from './ButtonElement';
3
+ export { default as styles } from './ButtonElement.styles';
@@ -0,0 +1,8 @@
1
+ import { FC, ReactElement } from 'react';
2
+ import { StylesType } from '.';
3
+ export interface Props {
4
+ children: ReactElement[];
5
+ styles?: StylesType;
6
+ }
7
+ declare const ButtonGroupElement: FC<Props>;
8
+ export default ButtonGroupElement;
@@ -0,0 +1,12 @@
1
+ export type StylesType = {
2
+ container?: string;
3
+ firstButton?: string;
4
+ button?: string;
5
+ lastButton?: string;
6
+ };
7
+ declare const styles: {
8
+ [selector: string]: {
9
+ [key: string]: string;
10
+ };
11
+ };
12
+ export default styles;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './ButtonGroupElement.styles';
2
+ export { default } from './ButtonGroupElement';
3
+ export { default as styles } from './ButtonGroupElement.styles';
@@ -0,0 +1,15 @@
1
+ import { Menu } from '@headlessui/react';
2
+ import { FC, ReactElement } from 'react';
3
+ import { StylesType } from '.';
4
+ export interface Props {
5
+ children: ReactElement | ReactElement[];
6
+ label: string;
7
+ type?: 'button' | 'compact';
8
+ direction?: 'left' | 'right';
9
+ styles?: StylesType;
10
+ }
11
+ declare const DropdownElement: {
12
+ Container: FC<Props>;
13
+ Item: typeof Menu.Item;
14
+ };
15
+ export default DropdownElement;
@@ -0,0 +1,15 @@
1
+ export type StylesType = {
2
+ container?: string;
3
+ button?: string;
4
+ compact?: string;
5
+ dots?: string;
6
+ items?: string;
7
+ left?: string;
8
+ right?: string;
9
+ };
10
+ declare const styles: {
11
+ [selector: string]: {
12
+ [key: string]: string;
13
+ };
14
+ };
15
+ export default styles;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './DropdownElement.styles';
2
+ export { default } from './DropdownElement';
3
+ export { default as styles } from './DropdownElement.styles';
@@ -0,0 +1,9 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { StylesType } from '.';
3
+ export interface Props {
4
+ children: ReactNode;
5
+ type?: 'break' | 'center' | 'fill';
6
+ styles?: StylesType;
7
+ }
8
+ declare const ContainerLayout: FC<Props>;
9
+ export default ContainerLayout;
@@ -0,0 +1,17 @@
1
+ export type StylesType = {
2
+ container?: string;
3
+ content?: string;
4
+ };
5
+ declare const _default: {
6
+ break: {
7
+ container: string;
8
+ };
9
+ center: {
10
+ container: string;
11
+ content: string;
12
+ };
13
+ fill: {
14
+ container: string;
15
+ };
16
+ };
17
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './ContainerLayout.styles';
2
+ export { default } from './ContainerLayout';
3
+ export { default as styles } from './ContainerLayout.styles';
@@ -0,0 +1,9 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { StylesType } from '.';
3
+ export interface Props {
4
+ children: ReactNode;
5
+ type?: 'left' | 'center' | 'right';
6
+ styles?: StylesType;
7
+ }
8
+ declare const DividerLayout: FC<Props>;
9
+ export default DividerLayout;
@@ -0,0 +1,13 @@
1
+ export type StylesType = {
2
+ container?: string;
3
+ head?: string;
4
+ line?: string;
5
+ body?: string;
6
+ content?: string;
7
+ };
8
+ declare const styles: {
9
+ [selector: string]: {
10
+ [key: string]: string;
11
+ };
12
+ };
13
+ export default styles;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './DividerLayout.styles';
2
+ export { default } from './DividerLayout';
3
+ export { default as styles } from './DividerLayout.styles';
@@ -0,0 +1,9 @@
1
+ import { FC, ReactElement } from 'react';
2
+ import { StylesType } from '.';
3
+ export interface Props {
4
+ children: ReactElement | ReactElement[];
5
+ type?: 'fill' | 'fill-sticky' | 'center' | 'center-sticky' | 'card' | 'card-sticky';
6
+ styles?: StylesType;
7
+ }
8
+ declare const ListContainerLayout: FC<Props>;
9
+ export default ListContainerLayout;
@@ -0,0 +1,11 @@
1
+ export type StylesType = {
2
+ container?: string;
3
+ list?: string;
4
+ item?: string;
5
+ };
6
+ declare const styles: {
7
+ [selector: string]: {
8
+ [key: string]: string;
9
+ };
10
+ };
11
+ export default styles;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './ListContainerLayout.styles';
2
+ export { default } from './ListContainerLayout';
3
+ export { default as styles } from './ListContainerLayout.styles';
@@ -0,0 +1,12 @@
1
+ import { FC, ReactNode, DetailedReactHTMLElement, HTMLAttributes } from 'react';
2
+ import { StylesType } from '.';
3
+ export type Element = DetailedReactHTMLElement<HTMLAttributes<HTMLElement>, HTMLElement>;
4
+ export interface Props {
5
+ title: string;
6
+ paragraph: string;
7
+ figure?: ReactNode;
8
+ type?: 'top' | 'top-reversed' | 'center' | 'center-reversed' | 'bottom' | 'bottom-reversed' | 'stretch' | 'stretch-reversed' | 'responsive' | 'responsive-reversed' | 'wide' | 'wide-reversed';
9
+ styles?: StylesType;
10
+ }
11
+ declare const MediaObjectLayout: FC<Props>;
12
+ export default MediaObjectLayout;
@@ -0,0 +1,13 @@
1
+ export type StylesType = {
2
+ container?: string;
3
+ figure?: string;
4
+ svg?: string;
5
+ title?: string;
6
+ paragraph?: string;
7
+ };
8
+ declare const styles: {
9
+ [selector: string]: {
10
+ [key: string]: string;
11
+ };
12
+ };
13
+ export default styles;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './MediaObjectLayout.styles';
2
+ export { default } from './MediaObjectLayout';
3
+ export { default as styles } from './MediaObjectLayout.styles';
@@ -0,0 +1,16 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { StylesType } from '.';
3
+ export interface ContainerProps {
4
+ children: ReactNode;
5
+ type?: 'normal' | 'sticky';
6
+ styles?: StylesType;
7
+ }
8
+ export interface HeadProps {
9
+ children: ReactNode;
10
+ styles?: StylesType;
11
+ }
12
+ declare const LayoutPanel: {
13
+ Container: React.FC<ContainerProps>;
14
+ Section: React.FC<HeadProps>;
15
+ };
16
+ export default LayoutPanel;
@@ -0,0 +1,6 @@
1
+ export type StylesType = {
2
+ container?: string;
3
+ section?: string;
4
+ };
5
+ declare const styles: StylesType;
6
+ export default styles;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './PanelLayout.styles';
2
+ export { default } from './PanelLayout';
3
+ export { default as styles } from './PanelLayout.styles';
@@ -0,0 +1,15 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { StylesType } from '.';
3
+ export interface Props {
4
+ href: string;
5
+ pages: {
6
+ name: string;
7
+ href: string;
8
+ isCurrent: boolean;
9
+ }[];
10
+ type?: 'slashes' | 'chevrons' | 'panel' | 'bar';
11
+ separator?: ReactNode;
12
+ styles?: StylesType;
13
+ }
14
+ declare const BreadcrumbsNavigation: FC<Props>;
15
+ export default BreadcrumbsNavigation;
@@ -0,0 +1,145 @@
1
+ export type StylesType = {
2
+ slashes?: {
3
+ container?: string;
4
+ list?: string;
5
+ separator?: string;
6
+ home?: {
7
+ container?: string;
8
+ content?: string;
9
+ link?: string;
10
+ icon?: string;
11
+ span?: string;
12
+ };
13
+ page?: {
14
+ container?: string;
15
+ content?: string;
16
+ link?: string;
17
+ span?: string;
18
+ };
19
+ };
20
+ chevrons?: {
21
+ container?: string;
22
+ list?: string;
23
+ separator?: string;
24
+ home?: {
25
+ container?: string;
26
+ content?: string;
27
+ link?: string;
28
+ icon?: string;
29
+ span?: string;
30
+ };
31
+ page?: {
32
+ container?: string;
33
+ content?: string;
34
+ link?: string;
35
+ span?: string;
36
+ };
37
+ };
38
+ panel?: {
39
+ container?: string;
40
+ list?: string;
41
+ separator?: string;
42
+ home?: {
43
+ container?: string;
44
+ content?: string;
45
+ link?: string;
46
+ icon?: string;
47
+ span?: string;
48
+ };
49
+ page?: {
50
+ container?: string;
51
+ content?: string;
52
+ link?: string;
53
+ span?: string;
54
+ };
55
+ };
56
+ bar?: {
57
+ container?: string;
58
+ list?: string;
59
+ separator?: string;
60
+ home?: {
61
+ container?: string;
62
+ content?: string;
63
+ link?: string;
64
+ icon?: string;
65
+ span?: string;
66
+ };
67
+ page?: {
68
+ container?: string;
69
+ content?: string;
70
+ link?: string;
71
+ span?: string;
72
+ };
73
+ };
74
+ };
75
+ declare const styles: {
76
+ slashes: {
77
+ container: string;
78
+ list: string;
79
+ separator: string;
80
+ home: {
81
+ container: string;
82
+ content: string;
83
+ link: string;
84
+ icon: string;
85
+ span: string;
86
+ };
87
+ page: {
88
+ container: string;
89
+ content: string;
90
+ link: string;
91
+ };
92
+ };
93
+ chevrons: {
94
+ container: string;
95
+ list: string;
96
+ separator: string;
97
+ home: {
98
+ container: string;
99
+ content: string;
100
+ link: string;
101
+ icon: string;
102
+ span: string;
103
+ };
104
+ page: {
105
+ container: string;
106
+ content: string;
107
+ link: string;
108
+ };
109
+ };
110
+ panel: {
111
+ container: string;
112
+ list: string;
113
+ separator: string;
114
+ home: {
115
+ container: string;
116
+ content: string;
117
+ link: string;
118
+ icon: string;
119
+ span: string;
120
+ };
121
+ page: {
122
+ container: string;
123
+ content: string;
124
+ link: string;
125
+ };
126
+ };
127
+ bar: {
128
+ container: string;
129
+ list: string;
130
+ separator: string;
131
+ home: {
132
+ container: string;
133
+ content: string;
134
+ link: string;
135
+ icon: string;
136
+ span: string;
137
+ };
138
+ page: {
139
+ container: string;
140
+ content: string;
141
+ link: string;
142
+ };
143
+ };
144
+ };
145
+ export default styles;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './BreadcrumbsNavigation.styles';
2
+ export { default } from './BreadcrumbsNavigation';
3
+ export { default as styles } from './BreadcrumbsNavigation.styles';
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { StylesType } from '.';
3
+ export interface Props {
4
+ min?: number;
5
+ max: number;
6
+ styles?: StylesType;
7
+ onChange?: (current: number) => void;
8
+ }
9
+ declare const PagePaginationNavigation: React.FC<Props>;
10
+ export default PagePaginationNavigation;
@@ -0,0 +1,45 @@
1
+ export type StylesType = {
2
+ container?: string;
3
+ left?: {
4
+ container?: string;
5
+ button?: string;
6
+ icon?: string;
7
+ };
8
+ center?: {
9
+ container?: string;
10
+ };
11
+ right?: {
12
+ container?: string;
13
+ button?: string;
14
+ icon?: string;
15
+ };
16
+ button?: {
17
+ default?: string;
18
+ active?: string;
19
+ disabled?: string;
20
+ };
21
+ divider?: string;
22
+ };
23
+ declare const styles: {
24
+ container: string;
25
+ left: {
26
+ container: string;
27
+ button: string;
28
+ icon: string;
29
+ };
30
+ center: {
31
+ container: string;
32
+ };
33
+ right: {
34
+ container: string;
35
+ button: string;
36
+ icon: string;
37
+ };
38
+ button: {
39
+ default: string;
40
+ active: string;
41
+ disabled: string;
42
+ };
43
+ divider: string;
44
+ };
45
+ export default styles;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './PagePaginationNavigation.styles';
2
+ export { default } from './PagePaginationNavigation';
3
+ export { default as styles } from './PagePaginationNavigation.styles';
@@ -0,0 +1,15 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { StylesType } from '.';
3
+ export interface Props {
4
+ min?: number;
5
+ max: number;
6
+ children: ({ min, max, current, }: {
7
+ min: number;
8
+ max: number;
9
+ current: number;
10
+ }) => ReactNode;
11
+ styles?: StylesType;
12
+ onChange?: (current: number) => void;
13
+ }
14
+ declare const PanelPaginationNavigation: React.FC<Props>;
15
+ export default PanelPaginationNavigation;
@@ -0,0 +1,43 @@
1
+ export type StylesType = {
2
+ container?: string;
3
+ mobile?: {
4
+ container?: string;
5
+ button?: string;
6
+ };
7
+ desktop?: {
8
+ container?: string;
9
+ leftButton?: string;
10
+ rightButton?: string;
11
+ navigation?: string;
12
+ };
13
+ button?: {
14
+ default?: string;
15
+ active?: string;
16
+ disabled?: string;
17
+ };
18
+ divider?: string;
19
+ label: string;
20
+ icon: string;
21
+ };
22
+ declare const styles: {
23
+ container: string;
24
+ mobile: {
25
+ container: string;
26
+ button: string;
27
+ };
28
+ desktop: {
29
+ container: string;
30
+ leftButton: string;
31
+ rightButton: string;
32
+ navigation: string;
33
+ };
34
+ button: {
35
+ default: string;
36
+ active: string;
37
+ disabled: string;
38
+ };
39
+ divider: string;
40
+ label: string;
41
+ icon: string;
42
+ };
43
+ export default styles;
@@ -0,0 +1,3 @@
1
+ export type { StylesType } from './PanelPagination.styles';
2
+ export { default } from './PanelPagination';
3
+ export { default as styles } from './PanelPagination.styles';
@@ -0,0 +1,35 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { ContainerStylesType, NavigationStylesType } from '.';
3
+ export interface ContainerProps {
4
+ children: ({ active, setActive, }: {
5
+ active: string;
6
+ setActive: any;
7
+ }) => ReactNode | ReactNode[];
8
+ styles?: ContainerStylesType;
9
+ }
10
+ export interface ListProps {
11
+ children: ReactNode | ReactNode[];
12
+ active: string;
13
+ setActive: any;
14
+ styles?: NavigationStylesType;
15
+ }
16
+ export interface ItemProps {
17
+ accessor: string;
18
+ href?: string;
19
+ type?: string;
20
+ children: ReactNode;
21
+ isCurrent?: boolean;
22
+ isInitial?: boolean;
23
+ onClick?: (accessor: any) => void;
24
+ }
25
+ export interface FooterProps {
26
+ children: ReactNode | ReactNode[];
27
+ styles?: NavigationStylesType;
28
+ }
29
+ declare const SidebarNavigation: {
30
+ Container: React.FC<ContainerProps>;
31
+ List: React.FC<ListProps>;
32
+ Item: React.FC<ItemProps>;
33
+ Footer: React.FC<FooterProps>;
34
+ };
35
+ export default SidebarNavigation;