From 1994c98063c27a41797dec01f2ca9fcbe33ceab0 Mon Sep 17 00:00:00 2001 From: Israel Lavi Date: Mon, 21 May 2018 17:42:00 +0300 Subject: init commit onap ui Change-Id: I1dace78817dbba752c550c182dfea118b4a38646 Issue-ID: SDC-1350 Signed-off-by: Israel Lavi --- stories/react/buttons/PrimaryButtons.stories.js | 49 +++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 stories/react/buttons/PrimaryButtons.stories.js (limited to 'stories/react/buttons/PrimaryButtons.stories.js') diff --git a/stories/react/buttons/PrimaryButtons.stories.js b/stories/react/buttons/PrimaryButtons.stories.js new file mode 100644 index 0000000..db732b9 --- /dev/null +++ b/stories/react/buttons/PrimaryButtons.stories.js @@ -0,0 +1,49 @@ +import React from 'react'; +import Examples from '../utils/Examples.js'; + +import ReactButton from '../../../src/react/Button.js'; + +import PrimaryButton from '../../../components/button/button-primary.html'; +import PrimaryButtonDisabled from '../../../components/button/button-primary-disabled.html'; +import ExtraSmall from '../../../components/button/button-primary-extra-small.html'; +import Small from '../../../components/button/button-primary-small.html'; +import Medium from '../../../components/button/button-primary-medium.html'; +import Large from '../../../components/button/button-primary-large.html'; +import Auto from '../../../components/button/button-primary-auto.html'; + +let examples = { + 'Primary Default': { + jsx: {}}>Click Me, + html: PrimaryButton + }, + 'Primary Disabled': { + jsx: {}} disabled>Click Me, + html: PrimaryButtonDisabled, + }, + 'Extra Small': { + jsx: {}}>Click Me, + html: ExtraSmall + }, + 'Small': { + jsx: {}}>Click Me, + html: Small, + }, + 'Medium': { + jsx: {}}>Click Me, + html: Medium + }, + 'Large': { + jsx: {}}>Click Me, + html: Large, + }, + 'Auto Sizing': { + jsx: {}}>Click Me, + html: Auto, + } +}; + +const DefaultButtons = () => ( + +); + +export default DefaultButtons; -- cgit 1.2.3-korg