/** * --- * category: utilities/PropTypes * --- * Verify that either value is provided as a prop if as="input", and children * if provided otherwise * * ```js-code * import { childrenOrValue } from '@instructure/ui-prop-types' * * class Foo extends Component { * static propTypes = { * children: childrenOrValue, * value: childrenOrValue * } * ... * ``` * @module childrenOrValue */ declare function childrenOrValue(props: Record, propName: string, componentName: string): Error | null; export default childrenOrValue; export { childrenOrValue }; //# sourceMappingURL=childrenOrValue.d.ts.map