Add copyright, remove whitespace

This commit is contained in:
Jorik Schellekens 2020-08-03 18:40:09 +01:00
parent 767eba53a8
commit e6dcf6b3f5
2 changed files with 34 additions and 2 deletions

View file

@ -1,3 +1,19 @@
/*
Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
module.exports = { module.exports = {
stories: ['../src/**/*.stories.tsx'], stories: ['../src/**/*.stories.tsx'],
addons: [ addons: [
@ -13,3 +29,4 @@ module.exports = {
'@storybook/addon-backgrounds/register', '@storybook/addon-backgrounds/register',
], ],
}; };

View file

@ -1,3 +1,19 @@
/*
Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
import React from 'react'; import React from 'react';
import { addDecorator } from '@storybook/react'; import { addDecorator } from '@storybook/react';
import { withA11y } from '@storybook/addon-a11y'; import { withA11y } from '@storybook/addon-a11y';
@ -5,8 +21,6 @@ import { withKnobs } from '@storybook/addon-knobs';
import { withDesign } from 'storybook-addon-designs' import { withDesign } from 'storybook-addon-designs'
import { addParameters } from '@storybook/react'; import { addParameters } from '@storybook/react';
// Default styles // Default styles
import "../src/index.scss"; import "../src/index.scss";
@ -26,3 +40,4 @@ addParameters({
{name: 'white', value: '#FFFFFF', default: true}, {name: 'white', value: '#FFFFFF', default: true},
], ],
}); });