<GoldRushProvider />
Required component wrapper to configure GoldRush theme and API key.
GoldRushProvider wraps around the application to configure GoldRush components. Properties such as colors, theme, and mode can be added to change how the components look on your application.
Usage
Below is basic implementation of the <GoldRushProvider />
component. You can use this as a starting point for your own implementation.
React
import { GoldRushProvider } from "@covalenthq/goldrush-kit";
export default function CovalentDemo() {
return <GoldRushProvider />;
}
Name | Type | Description | |
---|---|---|---|
Properties | |||
apikey | string | Required API key. | |
theme | classic | neo | Theme for GoldRush components. | |
mode | dark | light | Mode for GoldRush components. | |
border_radius | none | small | medium | large | full | Border radius for GoldRush components. | |
color | slate | stone | red | orange | amber | yellow | lime | green | emerald | cyan | sky | blue | indigo | violet | purple | fuchsia | pink | rose | Colors for GoldRush components. |