0.0.29 • Published 3 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 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.
0.0.29
3 years ago
0.0.20
3 years ago
0.0.21
3 years ago
0.0.22
3 years ago
0.0.23
3 years ago
0.0.24
3 years ago
0.0.25
3 years ago
0.0.17
3 years ago
0.0.18
3 years ago
0.0.19
3 years ago
0.0.26
3 years ago
0.0.27
3 years ago
0.0.28
3 years ago
0.0.10
3 years ago
0.0.11
3 years ago
0.0.12
3 years ago
0.0.13
3 years ago
0.0.14
3 years ago
0.0.15
3 years ago
0.0.9
3 years ago
0.0.16
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago