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.
JavaScript
<GoldRushProvider apikey={YOUR_API_KEY} //use your API key mode="dark" //dark mode or light mode color="emerald" //color theme > /* Your App */ </GoldRushProvider>
Name | Type | Description | |
---|---|---|---|
Required Properties | |||
apikey | string | Required API key. | |
Optional Properties | |||
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. |