import { TransformComponent as TC } from '../runtime'; import { SelectXTransform } from '../spec'; import { Select } from './select'; export type SelectXOptions = Omit; /** * The selectX transform filter index by y channel. */ export const SelectX: TC = (options = {}) => { const { selector, ...rest } = options; return Select({ channel: 'x', selector, ...rest }); }; SelectX.props = {};