Skip to content

Commit

Permalink
docs: fix NativeSelect name
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackySoul committed Nov 26, 2024
1 parent cb55d05 commit e07929e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/vkui/src/components/NativeSelect/NativeSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export const NOT_SELECTED = {
CUSTOM: null,
};

/**
* @visibleName NativeSelect
*/
export const remapFromSelectValueToNativeValue = (value: SelectValue): NativeSelectValue =>
value === NOT_SELECTED.CUSTOM ? NOT_SELECTED.NATIVE : value;

Expand Down Expand Up @@ -78,7 +81,7 @@ export interface NativeSelectProps
/**
* @see https://vkcom.github.io/VKUI/#/NativeSelect
*/
const NativeSelect = ({
export const NativeSelect = ({
style,
align,
placeholder,
Expand Down Expand Up @@ -168,5 +171,3 @@ const NativeSelect = ({
</FormField>
);
};

export { NativeSelect };

0 comments on commit e07929e

Please sign in to comment.