From c8da0f235b841b4ffcdd6f25735b9a34796efd25 Mon Sep 17 00:00:00 2001 From: Brendan Falkowski Date: Wed, 29 Jan 2025 15:12:44 -0800 Subject: [PATCH] =?UTF-8?q?PWA-4383:=20remove=20unused=20=E2=80=9CSelect/o?= =?UTF-8?q?ption=E2=80=9D=20sub-component=20in=20Venia=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../venia-ui/lib/components/Select/option.js | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 packages/venia-ui/lib/components/Select/option.js diff --git a/packages/venia-ui/lib/components/Select/option.js b/packages/venia-ui/lib/components/Select/option.js deleted file mode 100644 index 8da2f11917..0000000000 --- a/packages/venia-ui/lib/components/Select/option.js +++ /dev/null @@ -1,28 +0,0 @@ -import React from 'react'; -import { bool, shape, string } from 'prop-types'; - -const Option = props => { - const { disabled, item } = props; - const { label, value } = item; - const text = label != null ? label : value; - - return ( - - ); -}; - -Option.propTypes = { - disabled: bool, - item: shape({ - label: string, - value: string.isRequired - }).isRequired -}; - -Option.defaultProps = { - disabled: false -}; - -export default Option;