UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

1 lines 856 B
define([], function() { return "import * as React from 'react';\nimport { SearchBox } from './SearchBox';\n\nexport interface ISearchBoxProps extends React.Props<SearchBox> {\n\n /**\n * Label text for the SearchBox.\n * @default \"Search\"\n */\n labelText?: string;\n\n /**\n * Callback function for when the typed input for the SearchBox has changed.\n */\n onChange?: (newValue: any) => void;\n\n /**\n * Callback executed when the user presses enter in the search box.\n */\n onSearch?: (newValue: any) => void;\n\n /**\n * @deprecated\n * Deprecated at v0.52.2, to be removed at >= v1.0.0. Use 'onChange' instead.\n */\n onChanged?: (newValue: any) => void;\n\n /**\n * The value of the text in the SearchBox.\n */\n value?: string;\n\n /**\n * CSS class to apply to the SearchBox.\n */\n className?: string;\n}\n"; });