From e6dcf6b3f5b9818039b5b56b8b9c7ac01a713ac2 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Mon, 3 Aug 2020 18:40:09 +0100 Subject: [PATCH] Add copyright, remove whitespace --- .storybook/main.js | 17 +++++++++++++++++ .storybook/preview.js | 19 +++++++++++++++++-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/.storybook/main.js b/.storybook/main.js index e2e9876..729cef1 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -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 = { stories: ['../src/**/*.stories.tsx'], addons: [ @@ -13,3 +29,4 @@ module.exports = { '@storybook/addon-backgrounds/register', ], }; + diff --git a/.storybook/preview.js b/.storybook/preview.js index cff5d31..0de3220 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -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 { addDecorator } from '@storybook/react'; import { withA11y } from '@storybook/addon-a11y'; @@ -5,8 +21,6 @@ import { withKnobs } from '@storybook/addon-knobs'; import { withDesign } from 'storybook-addon-designs' import { addParameters } from '@storybook/react'; - - // Default styles import "../src/index.scss"; @@ -26,3 +40,4 @@ addParameters({ {name: 'white', value: '#FFFFFF', default: true}, ], }); +