import React from 'react'; import { Button, Card, Filter, Flex, Select, SkeletonLoading, TextInput } from "playbook-ui"; const SortingChangeCallback = (sortOptions) => { alert(JSON.stringify(sortOptions[0])) } const SkeletonLoadingFilter = (props) => { const isLoading = true const options = [ { value: 'USA' }, { value: 'Canada' }, { value: 'Brazil' }, { value: 'Philippines' }, { value: 'A galaxy far far away, like really far away...' }, ] return (
{isLoading ? ( ) : ( {({ closePopover }) => (
) } export default SkeletonLoadingFilter;