0.0.29 • Published 5 years ago
bootstrap-powered-react v0.0.29
Bootstrap Powered React
Modular Bootstrap CSS for your React Application
Getting Started
In a React project:
yarn add bootstrap-powered-react bootstrap lodashUsage
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.
0.0.29
5 years ago
0.0.20
5 years ago
0.0.21
5 years ago
0.0.22
5 years ago
0.0.23
5 years ago
0.0.24
5 years ago
0.0.25
5 years ago
0.0.17
5 years ago
0.0.18
5 years ago
0.0.19
5 years ago
0.0.26
5 years ago
0.0.27
5 years ago
0.0.28
5 years ago
0.0.10
5 years ago
0.0.11
5 years ago
0.0.12
5 years ago
0.0.13
5 years ago
0.0.14
5 years ago
0.0.15
5 years ago
0.0.9
5 years ago
0.0.16
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago