Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@times-components/link
Advanced tools
The link component wraps its children and makes them clickable elements. There are two exported components:
Link
- wraps any element, effectively making it clickableTextLink
- makes any inline text a linkimport Link, { TextLink } from "@times-components/link";
// works with block elements
<Link url="https://thetimes.co.uk" onPress={doSomeNavigation(url)}>
<View style={{ width: 100, height: 100, backgroundColor: "pink" }} />
</Link>
// and also with inline text
<TextLink url="https://thetimes.co.uk/" onPress={doSomeNavigation(url)}>
The Times
</TextLink>
The link accepts a responsiveLinkStyles
prop that allows
the resulting <a>
tag to be styled responsively.
Please read CONTRIBUTING.md before contributing to this package
Please see our main README.md to get the project running locally
The code can be formatted and linted in accordance with the agreed standards.
yarn fmt
yarn lint
This package uses yarn (latest) to run unit tests on each platform with jest.
yarn test:web
Visit the official storybook to see our available link templates.
FAQs
component to handle links and navigation
The npm package @times-components/link receives a total of 869 weekly downloads. As such, @times-components/link popularity was classified as not popular.
We found that @times-components/link demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.