Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@a-la/bootstrap

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@a-la/bootstrap

Bootstrap Class Properties, Elements And Types Definitions For JSX.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@a-la/bootstrap

npm version

@a-la/bootstrap is Bootstrap Class Properties, Elements And Types Definitions For JSX.

bootstrap container autocompletions

yarn add -D @a-la/bootstrap
npm i --save-dev @a-la/bootstrap

Table Of Contents

Usage

By installing this package, you will be able to specify classes on tags and components as JSX properties when using alamode transpiler.

To receive access to auto-completions, you'll need to import the @a-la/bootstrap package in your source code:

import '@a-la/bootstrap'
// or when using Preact 8:
import '@a-la/bootstrap/preact'

export const Component =
  () => (<div container>Hello World</div>)

The actual import doesn't do anything as the source file is blank. It is needed only for VSCode to pick up distributed typings.

Because of a bug in VSCode, you won't see properties with hyphens, e.g., container-fluid and will only see containerFluid, but you can actually use both. The camel cases are added for discoverability of classes.

Bootstrap Classes

See the 📙 full list of Bootstrap classes in Wiki.

Closure Stylesheets

An annotated version of Bulma 0.8.0 is available in bootstrap/bootstrap.css where /* @alternate */ annotations were added for compatibility with Closure Stylesheets.

GNU Affero General Public License v3.0

Art Deco © Art Deco™ for À La Mode 2020

Keywords

FAQs

Package last updated on 16 Mar 2020

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