New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

bootstrap-powered-react

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-powered-react

Modular Bootstrap CSS for your React Application

latest
npmnpm
Version
0.0.29
Version published
Maintainers
1
Created
Source

Bootstrap Powered React

Modular Bootstrap CSS for your React Application

Getting Started

In a React project:

yarn add bootstrap-powered-react bootstrap lodash

Usage

import React from "react";
import BPRElements from "bootstrap-powered-react";

const { Div, H1, P, Button } = BPRElements;

export const PrimaryAlert = (props) => (
  <Div className="alert alert-primary my-2" {...props} />
);

export const LargeButton = (props) => (
  <Button className="btn btn-lg btn-primary" {...props} />
);

export default function App() {
  return (
    <Div className="container">
      <H1>Hello StackBlitz!</H1>
      <P>Start editing to see some magic happen :)</P>
      <PrimaryAlert>Primary Alert</PrimaryAlert>
      <LargeButton>Large Primary Button</LargeButton>
    </Div>
  );
}

Demo

Checkout this demo on StackBlitz.

Keywords

react

FAQs

Package last updated on 25 Jul 2021

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