Feature Description
When adding a widget, it would be nice to be able to customize it based on information.
Let's take a weather widget.
When inserted, a React Native view should open, asking which city you want to display and other editable information.
Problem Statement
Being able to customize a widget.
Proposed Solution
import type { VoltraConfig } from 'voltra'
import WeatherConfig from './widgets/WeatherConfig'
const config: VoltraConfig = {
android: {
widgets: [
{
id: 'weather',
displayName: 'Weather',
description: 'Show weather for a selected city',
targetCellWidth: 3,
targetCellHeight: 3,
configWidget: WeatherConfig,
defaultState: {
city: 'New York',
units: 'metric'
}
}
]
}
}
export default config
Alternatives Considered
No response
Current Library Version
1.4.1
Implementation
Additional Context
No response
Feature Description
When adding a widget, it would be nice to be able to customize it based on information.
Let's take a weather widget.
When inserted, a React Native view should open, asking which city you want to display and other editable information.
Problem Statement
Being able to customize a widget.
Proposed Solution
Alternatives Considered
No response
Current Library Version
1.4.1
Implementation
Additional Context
No response