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

@gctools-components/language-selector

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gctools-components/language-selector

React component designed to work with @gctools-components/i18n-translation-webpack-plugin

  • 1.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Language selector

The language selector component is a simple drop down list allowing the end user to choose a language.

The list of languages is read directly from the localization service made available by using i18n-translation-webpack-plugin. When a user chooses a language, that localization service is updated and notifies any listeners automatically.

Installation

yarn add @gctools-components/language-selector

Usage

import React from 'react';
import LanguageSelector from '@gctools-components/language-selector';

const LanguageExample = () => (
  <div>
    <h1>Choose your language</h1>
    <LanguageSelector />
  </div>
);

export default LanguageExample;

© Her Majesty the Queen in Right of Canada, as represented by the Minister of the National Research Council, 2017

Keywords

FAQs

Package last updated on 09 Apr 2018

Did you know?

Socket

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.

Install

Related posts

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