
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@saunos/restyle-components
Advanced tools
@saunos/restyle-components is a library that provides jsx transform to expose css prop from Restyle for React components.
npm install @saunos/restyle-components restyle
tsconfig.json to use the custom JSX transform:{
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "@saunos/restyle-components"
}
}
.tsx files:/** @jsxImportSource @saunos/restyle-components */
Here's a basic example of how to use @saunos/restyle-components:
import React from 'react';
import { Button, Text } from '@mantine/core';
import { theme } from './theme';
function App() {
return (
<div>
<Button
css={{
backgroundColor: theme.colors.primary,
marginBottom: theme.spacing.m,
}}
>
Styled Button
</Button>
<Text
css={{
fontSize: 18,
}}
>
Styled Text
</Text>
</div>
);
}
css propPlease refer to Restyle's docs for more details.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.
FAQs
JSX source transformation for Restyle and React components
We found that @saunos/restyle-components 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.