@onwave/ui
Version:
onwave ui library
26 lines • 845 B
JavaScript
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
import React from "react";
import { TextButton } from "../";
export default {
title: "components/button/TextButton",
component: TextButton,
argTypes: {
backgroundColor: { control: "color" },
},
};
var Template = function (args) { return (React.createElement(TextButton, __assign({}, args))); };
export var SimpleTextButton = Template.bind({});
SimpleTextButton.args = {
children: "simple",
};
//# sourceMappingURL=index.stories.js.map