Skip to content

Conversation

@QuantFix
Copy link

This commit adds support for the listStyle parameter in the transfer component, enabling users to customize the style of the transfer list.

++ Changes Made:
Added listStyle as an optional parameter in the transfer function. Ensured listStyle is included in the component's configuration (kw) when provided. Expanded kwargs to pass additional parameters directly to the component.

++ Usage Example:

transfer(
items=['Item 1', 'Item 2'],
index=[0],
label='Example Transfer',
listStyle={'color': 'white', 'background': 'black'}
)
This allows users to apply custom styles directly to the transfer list.

++ Why this change?
Improves flexibility and customization of the transfer component. Addresses the need for styling options without requiring further adjustments in the core library.

This commit adds support for the listStyle parameter in the transfer component, enabling users to customize the style of the transfer list.

++ Changes Made:
Added listStyle as an optional parameter in the transfer function.
Ensured listStyle is included in the component's configuration (kw) when provided.
Expanded kwargs to pass additional parameters directly to the component.

++ Usage Example:

transfer(
    items=['Item 1', 'Item 2'],
    index=[0],
    label='Example Transfer',
    listStyle={'color': 'white', 'background': 'black'}
)
This allows users to apply custom styles directly to the transfer list.


++ Why this change?
Improves flexibility and customization of the transfer component.
Addresses the need for styling options without requiring further adjustments in the core library.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant