mirror of https://github.com/sgoudham/carbon.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
361 B
JavaScript
16 lines
361 B
JavaScript
import React from 'react'
|
|
import ListSetting from './ListSetting'
|
|
import { EXPORT_SIZES } from '../lib/constants'
|
|
|
|
const exportSize = size => <span>{size.name}</span>
|
|
|
|
function ExportSizeSelect(props) {
|
|
return (
|
|
<ListSetting title="Export size" items={EXPORT_SIZES} {...props}>
|
|
{exportSize}
|
|
</ListSetting>
|
|
)
|
|
}
|
|
|
|
export default ExportSizeSelect
|