-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support TypeScript #129
Labels
enhancement
New feature or request
Comments
Merged
Typescript types have just been added with @MickL yes, use
import tailwindBootstrapGrid from "tailwind-bootstrap-grid";
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {},
},
corePlugins: {
container: false,
},
plugins: [
tailwindBootstrapGrid({
containerMaxWidths: {
sm: "540px",
md: "720px",
lg: "960px",
xl: "1140px",
},
}),
],
}; |
Thanks! import tailwindBootstrapGrid from 'tailwind-bootstrap-grid';
import type { Config } from 'tailwindcss';
export default <Partial<Config>>{
plugins: [tailwindBootstrapGrid({})],
}; I created a PR to add it to the Readme :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can support TypeScript for this library ?
The text was updated successfully, but these errors were encountered: