@luxfi/core 5.2.13 → 5.2.14
Sign up to get free protection for your applications and to get access to all the features.
- package/components/copyright.tsx +10 -14
- package/package.json +1 -1
package/components/copyright.tsx
CHANGED
@@ -1,21 +1,17 @@
|
|
1
|
-
import React from 'react'
|
1
|
+
import React from 'react';
|
2
2
|
|
3
|
-
const FIRST = 2020
|
3
|
+
const FIRST = 2020;
|
4
4
|
|
5
|
-
const Copyright: React.FC<{
|
6
|
-
|
7
|
-
|
8
|
-
className=''
|
9
|
-
}) => {
|
10
|
-
|
11
|
-
const year = new Date().getFullYear()
|
12
|
-
const yearString = (year > FIRST) ? `${FIRST} - ${year}` : FIRST.toString()
|
5
|
+
const Copyright: React.FC<{ className?: string }> = ({ className = '' }) => {
|
6
|
+
const year = new Date().getFullYear();
|
7
|
+
const yearString = year > FIRST ? `${FIRST} - ${year}` : FIRST.toString();
|
13
8
|
|
14
9
|
return (
|
15
10
|
<div className={className}>
|
16
|
-
|
11
|
+
<p>Copyright © {yearString} all rights reserved</p>
|
12
|
+
<p>Lux Industries Inc (Delaware) + Lux Partners Ltd (Isle of Man)</p>
|
17
13
|
</div>
|
18
|
-
)
|
19
|
-
}
|
14
|
+
);
|
15
|
+
};
|
20
16
|
|
21
|
-
export default Copyright
|
17
|
+
export default Copyright;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@luxfi/core",
|
3
|
-
"version": "5.2.
|
3
|
+
"version": "5.2.14",
|
4
4
|
"description": "Library that contains shared UI primitives, support for a common design system, and other boilerplate support.",
|
5
5
|
"publishConfig": {
|
6
6
|
"registry": "https://registry.npmjs.org/",
|