1.3.4 • Published 1 year ago
@ristek-kit/ads v1.3.4
Ristek Ads
An open-source component library for ristek advertisment
Getting Started
Install the component
npm install @ristek-kit/adsAdd AdsProvider to your project root
// root.tsx
import { AdsProvider } from "@ristek-kit/ads";
export default function YourProjectRoot({ children }) {
  // theme = "dark" | "light", currently doesn't change anything (TODO)
  // platform = "RistekLink" | "SusunJadwal" | "BikunTracker"
  return (
    <AdsProvider theme={theme} platform={platform}>
      {children}
    </AdsProvider>
  );
}Use the component
// App.tsx
import { RistekAds } from "@ristek-kit/ads";
export default function App() {
  // Allows for custom width and height
  return <RistekAds className="w-full h-40" />;
}1.3.4
1 year ago
1.3.3
1 year ago
1.3.2
1 year ago
1.3.1
1 year ago
1.2.7
1 year ago
1.2.6
1 year ago
1.2.5
1 year ago
1.2.4
1 year ago
1.2.3
1 year ago
1.2.2
1 year ago
1.2.1
1 year ago
1.1.10
1 year ago
1.1.9
1 year ago
1.1.8
1 year ago
1.1.7
1 year ago
1.1.6
1 year ago
1.1.5
1 year ago
1.1.4
1 year ago
1.1.3
1 year ago
1.1.2
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago