Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
docz-iframe-playground
Advanced tools
The default Docz <Playground>
is really cool, but it does not serve your components in an isolated browsing context. This means your components live in a shared document environment with the Docz theme
The disadvantages of shared browsing context are:
This project aims to solve the issue by using <iframe>
Playground: https://zicodeng.github.io/docz-iframe-playground/
yarn add -D docz-iframe-playground
---
name: IFramePlayground
route: /
---
import { Playground, PropsTable } from 'docz';
import IFramePlayground from './../src/IFramePlayground';
import Header from './../helpers/Header';
import TestComponent from './TestComponent';
<Header />
## Demo
### You can nest `<IFramePlayground>` under `<Playground>`
<Playground>
<TestComponent title="Not Using IFramePlayground" />
<IFramePlayground style={{ marginTop: 50 }}>
<TestComponent title="Using IFramePlayground" />
</IFramePlayground>
</Playground>
### You can also use standalone `<IFramePlayground>`
Make sure to turn on `enableResizing`
<IFramePlayground enableResizing maxHeight={800}>
<TestComponent title="Using IFramePlayground" height="100%" />
</IFramePlayground>
## API
<PropsTable of={IFramePlayground} />
FAQs
iframe wrapper for Docz playground
The npm package docz-iframe-playground receives a total of 11 weekly downloads. As such, docz-iframe-playground popularity was classified as not popular.
We found that docz-iframe-playground demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.