react-pdf-builder
Version:
Build beautiful PDF documents in React.
114 lines (113 loc) • 3.23 kB
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Dark = exports.Light = exports.Danger = exports.Warning = exports.Info = exports.Success = exports.Secondary = exports.Primary = exports.Black = exports.Gray900 = exports.Gray800 = exports.Gray700 = exports.Gray600 = exports.Gray500 = exports.Gray400 = exports.Gray300 = exports.Gray200 = exports.Gray100 = exports.White = exports.Cyan = exports.Teal = exports.Green = exports.Yellow = exports.Orange = exports.Red = exports.Pink = exports.Purple = exports.Indigo = exports.Blue = exports.Default = void 0;
const react_1 = __importDefault(require("react"));
const PDFStory_1 = require("../parts/PDFStory");
const Blockquote_1 = require("../../components/typography/Blockquote");
const StoryComponent = (props) => {
return (react_1.default.createElement(PDFStory_1.PDFStory, null,
react_1.default.createElement(Blockquote_1.Blockquote, Object.assign({ className: "lh-base" }, props), "\u201CLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\u201D")));
};
// === Setup ===
const meta = {
title: 'Stories/Blockquote', // <-- Set to your story title
component: StoryComponent,
parameters: {
options: { showPanel: false }, // Don't show addons panel
},
};
exports.default = meta;
// === Stories ===
exports.Default = {
args: {},
};
exports.Blue = {
args: { swatch: 'blue' },
};
exports.Indigo = {
args: { swatch: 'indigo' },
};
exports.Purple = {
args: { swatch: 'purple' },
};
exports.Pink = {
args: { swatch: 'pink' },
};
exports.Red = {
args: { swatch: 'red' },
};
exports.Orange = {
args: { swatch: 'orange' },
};
exports.Yellow = {
args: { swatch: 'yellow' },
};
exports.Green = {
args: { swatch: 'green' },
};
exports.Teal = {
args: { swatch: 'teal' },
};
exports.Cyan = {
args: { swatch: 'cyan' },
};
exports.White = {
args: { swatch: 'white' },
};
exports.Gray100 = {
args: { swatch: 'gray100' },
};
exports.Gray200 = {
args: { swatch: 'gray200' },
};
exports.Gray300 = {
args: { swatch: 'gray300' },
};
exports.Gray400 = {
args: { swatch: 'gray400' },
};
exports.Gray500 = {
args: { swatch: 'gray500' },
};
exports.Gray600 = {
args: { swatch: 'gray600' },
};
exports.Gray700 = {
args: { swatch: 'gray700' },
};
exports.Gray800 = {
args: { swatch: 'gray800' },
};
exports.Gray900 = {
args: { swatch: 'gray900' },
};
exports.Black = {
args: { swatch: 'black' },
};
exports.Primary = {
args: { swatch: 'primary' },
};
exports.Secondary = {
args: { swatch: 'secondary' },
};
exports.Success = {
args: { swatch: 'success' },
};
exports.Info = {
args: { swatch: 'info' },
};
exports.Warning = {
args: { swatch: 'warning' },
};
exports.Danger = {
args: { swatch: 'danger' },
};
exports.Light = {
args: { swatch: 'light' },
};
exports.Dark = {
args: { swatch: 'dark' },
};
;