/**
 * Copyright __current_year__ The AMP HTML Authors. All Rights Reserved.
 *
 * 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 * as Preact from '#src/preact';
import {withAmp} from '@ampproject/storybook-addon';
import {withKnobs} from '@storybook/addon-knobs';

export default {
  title: 'amp-__component_name_hyphenated__-__component_version_snakecase__',
  decorators: [withKnobs, withAmp],

  parameters: {
    extensions: [
      {name: 'amp-__component_name_hyphenated__', version: '__component_version__'},
    ],
    __storybook_experiments_do_not_add_trailing_comma__
  },
};

// __do_not_submit__: This is example code only.
export const ExampleUseCase = () => {
  return (
    <amp-__component_name_hyphenated__
      width="300"
      height="200"
      example-property="example string property value"
    >
      This text is inside.
    </amp-__component_name_hyphenated__>
  );
};

ExampleUseCase.story = {
  name: 'Example use case story'
};

@@ -664,12 +664,8 @@
 m '#
-src/
 prea

Update Preact import in Storybook template (#34909)