File "index.js"
Full Path: /home/vantageo/public_html/cache/cache/cache/cache/cache/cache/cache/.wp-cli/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/base/components/product-name/stories/index.js
File size: 458 bytes
MIME-type: text/x-java
Charset: utf-8
/**
* External dependencies
*/
import { boolean } from '@storybook/addon-knobs';
/**
* Internal dependencies
*/
import ProductName from '../';
export default {
title: 'WooCommerce Blocks/@base-components/cart-checkout/ProductName',
component: ProductName,
};
export const Default = () => {
const disabled = boolean( 'disabled', false );
return (
<ProductName
disabled={ disabled }
name={ 'Test product' }
permalink={ '/' }
/>
);
};