@wecodesolutions/shared-react-components-ts 0.7.0 → 0.7.1
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/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/navBar/NavBar.tsx +2 -4
- package/src/index.tsx +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ export * from './components/buttons/SignInWithGoogle/SignInWithGoogle';
|
|
|
5
5
|
export * from './components/formContainer/FormContainer';
|
|
6
6
|
export * from './components/icons/AllCustomIcons';
|
|
7
7
|
export * from './components/inputField/InputField';
|
|
8
|
+
export * from './components/navBar/NavBar';
|
|
8
9
|
export * from './components/validationMessage/ValidationMessage';
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ type NavigationBarProps = {
|
|
|
11
11
|
navItems: NavItem[];
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
const NavigationBar: React.FC<NavigationBarProps> = ({ navItems }) => {
|
|
14
|
+
export const NavigationBar: React.FC<NavigationBarProps> = ({ navItems }) => {
|
|
15
15
|
return (
|
|
16
16
|
<nav style={{ display: 'flex', justifyContent: 'space-between', padding: '10px', backgroundColor: '#001f3f', color: '#fff' }}>
|
|
17
17
|
{navItems.map((item, index) =>
|
|
@@ -40,6 +40,4 @@ const NavigationBar: React.FC<NavigationBarProps> = ({ navItems }) => {
|
|
|
40
40
|
)}
|
|
41
41
|
</nav>
|
|
42
42
|
);
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export default NavigationBar;
|
|
43
|
+
};
|
package/src/index.tsx
CHANGED
|
@@ -5,4 +5,5 @@ export * from './components/buttons/SignInWithGoogle/SignInWithGoogle';
|
|
|
5
5
|
export * from './components/formContainer/FormContainer';
|
|
6
6
|
export * from './components/icons/AllCustomIcons';
|
|
7
7
|
export * from './components/inputField/InputField';
|
|
8
|
+
export * from './components/navBar/NavBar';
|
|
8
9
|
export * from './components/validationMessage/ValidationMessage';
|