New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sous-components-twig

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sous-components-twig - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

15

02-molecules/cards/cards.stories.js
import React from 'react';
import card from './basic/card.twig';
import cardTwig from './basic/card.twig';
import eventCardTwig from './event/event-card.twig';
import cardData from './basic/card.yml';
import cardBgData from './basic/card-bg.yml';
import eventCardData from './event/event-card.yml';

@@ -13,9 +15,14 @@ /**

export const cardExample = () => (
<div dangerouslySetInnerHTML={{ __html: card(cardData) }} />
export const card = () => (
<div dangerouslySetInnerHTML={{ __html: cardTwig(cardData) }} />
);
export const cardWithBackground = () => (
<div
dangerouslySetInnerHTML={{ __html: card({ ...cardData, ...cardBgData }) }}
dangerouslySetInnerHTML={{
__html: cardTwig({ ...cardData, ...cardBgData }),
}}
/>
);
export const eventCard = () => (
<div dangerouslySetInnerHTML={{ __html: eventCardTwig(eventCardData) }} />
);
{
"name": "sous-components-twig",
"version": "0.0.9",
"version": "0.0.10",
"description": "Twig components for a fictitious Sous install",

@@ -5,0 +5,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc